shrub/pkg/arvo/mar/json.hoon

27 lines
602 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
::
=, eyre
=, format
=, html
|_ jon/json
2014-07-29 08:13:44 +04:00
::
++ grow :: convert to
|%
++ mime [/application/json (as-octs:mimes -:txt)] :: convert to %mime
++ txt [(crip (en-json 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:de-json) *json))
2015-02-27 09:35:41 +03:00
++ noun json :: clam from %noun
2016-12-03 02:47:16 +03:00
++ numb numb:enjs
++ time time:enjs
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
--