urbit/mar/json.hoon
2015-07-10 11:51:32 -07:00

25 lines
611 B
Plaintext

::
:::: /hoon/core/json/mar
::
/? 314
::
:::: compute
::
|_ jon=json
::
++ garb /oauth-tokens/bit-accounts/bit-transaction
++ grow :: convert to
|%
++ mime [/text/json (taco 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
--