mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
elem-to-react-json for collections
This commit is contained in:
parent
1d987f755e
commit
575054b8c6
@ -1,5 +1,5 @@
|
|||||||
/? 309
|
/? 309
|
||||||
/+ collections
|
/+ collections, cram, elem-to-react-json
|
||||||
/= gas /$ fuel:html
|
/= gas /$ fuel:html
|
||||||
/= jon
|
/= jon
|
||||||
/^ json
|
/^ json
|
||||||
@ -44,8 +44,10 @@
|
|||||||
++ raw-to-json
|
++ raw-to-json
|
||||||
|= raw=raw-item:collections
|
|= raw=raw-item:collections
|
||||||
^- json
|
^- json
|
||||||
|
=/ elm=manx elm:(static:cram (ream data.raw))
|
||||||
|
=/ rec=json (elem-to-react-json elm)
|
||||||
%- pairs:enjs:format
|
%- pairs:enjs:format
|
||||||
:~ [%data [%s data.raw]]
|
:~ [%data rec]
|
||||||
[%meta (meta-to-json meta.raw)]
|
[%meta (meta-to-json meta.raw)]
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user