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