urbit/mar/json.hoon

25 lines
566 B
Plaintext
Raw Normal View History

2014-07-29 08:13:44 +04:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/json/mar
2014-07-29 08:13:44 +04:00
::
2016-02-18 02:00:12 +03:00
/? 310
2014-07-29 08:13:44 +04:00
::
:::: compute
::
2016-11-01 03:12:56 +03:00
=, js:eyre
|_ jon/json
2014-07-29 08:13:44 +04:00
::
++ grow :: convert to
|%
++ mime [/application/json (taco:bytes:eyre txt)] :: convert to %mime
2015-03-14 02:44:46 +03:00
++ txt (crip (pojo jon))
2014-07-29 08:13:44 +04:00
--
2015-02-27 09:35:41 +03:00
++ grab
|% :: convert from
++ mime |=({p/mite q/octs} (fall (rush (@t q.q) apex:poja) *json))
2015-02-27 09:35:41 +03:00
++ noun json :: clam from %noun
++ numb jone
++ time jode
2015-02-27 09:35:41 +03:00
--
2015-07-08 01:22:32 +03:00
++ grad %mime
2015-02-27 09:35:41 +03:00
--