summaryrefslogtreecommitdiff
path: root/desk/lib/json/common.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/lib/json/common.hoon')
-rw-r--r--desk/lib/json/common.hoon3
1 files changed, 2 insertions, 1 deletions
diff --git a/desk/lib/json/common.hoon b/desk/lib/json/common.hoon
index 64d4b03..0ed54cd 100644
--- a/desk/lib/json/common.hoon
+++ b/desk/lib/json/common.hoon
@@ -5,7 +5,8 @@
|%
++ cord |= s=@t ^- json s+s
++ hex |= h=@ux ^- json
- [%s (crip (scow:sr %ux h))]
+ =/ scoww scow:sr
+ [%s (crip (scoww(min-chars 64) %ux h))]
++ b64 |= h=@uv ^- json
[%s (crip (scow:sr %uv h))]
++ ud |= n=@ ^- json