mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
10 lines
260 B
Plaintext
10 lines
260 B
Plaintext
:: hoon data to json
|
|
::
|
|
:::: /hoon/map-to-json/lib
|
|
::
|
|
/? 310
|
|
=, format
|
|
|* {a/_cord b/_json} :: XX {a/$-(* cord) b/$-(* json)}
|
|
|= c/(map _+<.a _+<.b)
|
|
(pairs:enjs (turn ~(tap by c) |*(d/^ [(a -.d) (b +.d)])))
|