urbit/mar/tree/json.hoon
2016-02-04 19:05:37 -08:00

20 lines
480 B
Plaintext

::
:::: /hoon/json/tree/mar
::
/? 314
::
:::: compute
::
|_ jon=json
::
++ grow :: convert to
|%
++ mime [/text/json (tact (pojo jon))] :: convert to %mime
--
++ grab
|% :: convert from
:: ++ mime |=([p=mite q=octs] (fall (rush (,@t q.q) apex:poja) *json))
++ noun json :: clam from %noun
--
--