8.18
top
← prev up next →

jsonic: because JSON is boringπŸ”— i

Roxy Lexington

1IntroductionπŸ”— i

This is a domain-specific language that relies on the json library.

In particular, the jsexpr->string function.

If we start with this:

#lang jsonic

[

@$ 'null $@,

@$ (* 6 7) $@,

@$ (= 2 (+ 1 1)) $@

]

We’ll end up with this:

[

null,

42,

true

]

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /