mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-14 15:04:14 +03:00
26 lines
576 B
Plaintext
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
|
|
--
|