urbit/base/mar/json/door.hook
2015-05-30 00:53:19 -07:00

28 lines
641 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] *json) ::(fall (rush (,@t q.q) apex:poja) *json))
++ noun json :: clam from %noun
++ numb jone
++ time jode
--
++ grad
|%
++ sted %mime
--
--