mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 11:51:32 +03:00
20 lines
475 B
Plaintext
20 lines
475 B
Plaintext
|
::
|
||
|
:::: /hoon/json/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
|
||
|
--
|
||
|
--
|