mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 07:42:20 +03:00
Merge pull request #2879 from urbit/m/safer-json
chat: virtualize message-to-json conversion
This commit is contained in:
commit
00e1ba4d93
@ -41,9 +41,16 @@
|
|||||||
(fall ((ot output+(ar dank) ~) a) ~)
|
(fall ((ot output+(ar dank) ~) a) ~)
|
||||||
::
|
::
|
||||||
++ lett
|
++ lett
|
||||||
|
=, enjs:format
|
||||||
|= =letter
|
|= =letter
|
||||||
^- json
|
^- json
|
||||||
=, enjs:format
|
=; result=(each json tang)
|
||||||
|
?- -.result
|
||||||
|
%& p.result
|
||||||
|
%| (frond %text s+'[[json rendering error]]')
|
||||||
|
==
|
||||||
|
%- mule
|
||||||
|
|.
|
||||||
?- -.letter
|
?- -.letter
|
||||||
%text
|
%text
|
||||||
(frond %text s+text.letter)
|
(frond %text s+text.letter)
|
||||||
|
Loading…
Reference in New Issue
Block a user