urbit/mar/json.hoon
2016-11-06 16:45:29 -08:00

26 lines
576 B
Plaintext

::
:::: /hoon/json/mar
::
/? 310
::
:::: compute
::
=, ^eyre
=, 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
--