urbit/mar/json.hoon
C. Guy Yarvin c41be3b691 More namespacing. Double solid with pill
3bd0e6729b188df307de380160aad65b
vere
eea379f256
2016-11-01 16:15:11 -07:00

25 lines
566 B
Plaintext

::
:::: /hoon/json/mar
::
/? 310
::
:::: compute
::
=, js:eyre
|_ jon/json
::
++ grow :: convert to
|%
++ mime [/application/json (taco:bytes:eyre txt)] :: convert to %mime
++ txt (crip (pojo jon))
--
++ grab
|% :: convert from
++ mime |=({p/mite q/octs} (fall (rush (@t q.q) apex:poja) *json))
++ noun json :: clam from %noun
++ numb jone
++ time jode
--
++ grad %mime
--