JSON handling framework for Common Lisp
NJSON aims to make it convenient for one to decode, encode, and process JSON data, in the minimum keystrokes/minutes possible.
NJSON is parser-independent, with existing Common Lisp JSON parsers being loadable as additional system. cl-json
is included by default, though. Conveniences that NJSON provides are:
encode
and decode
as single entry points for JSON reading and writing, be it from streams/string/files, or from those.
jget
, jrem
, jtruep
, and their aliases to access/delete the decoded objects' properties and check their truth value without the need to worry about the low-level details of how these values are decoded.
jif
, jwhen
, jor
, jand
, and other macros mimicking Lisp ones, while using truth values of JSON-decoded data.
njson/aliases
package to nickname to j
for all the forms conveniently accessible as j:rem
, j:get
, j:if
etc.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/0w29yqs1xr3jdfqx2a7847ap8ddv4qm8-cl-njson-1.0.0.drv | ||
riscv64-linux | /gnu/store/rb4kv2q9j3kjwa99hmk77xhmyil88j8y-cl-njson-1.0.0.drv | ||
powerpc-linux | /gnu/store/cm712z2v0b7l8la0z02pvxzfbv9dyym1-cl-njson-1.0.0.drv | ||
powerpc64le-linux | /gnu/store/lcsqx05hpmfjlz0wc1kn3l7fgf9mcjvf-cl-njson-1.0.0.drv | ||
mips64el-linux | /gnu/store/5a1p5vlff5ba12nms3k3i51c2m42z4v6-cl-njson-1.0.0.drv | ||
i686-linux | /gnu/store/xnvr1w073kvxm76zgiy8nr2274fkygdp-cl-njson-1.0.0.drv | ||
i586-gnu | /gnu/store/dzk7ay8fi2wcp8fvli9pyaah1iryzxxk-cl-njson-1.0.0.drv | ||
armhf-linux | /gnu/store/3pamrzcc3r5gvlk2drmlccgkrh36828p-cl-njson-1.0.0.drv | ||
aarch64-linux | /gnu/store/8b71nacwzycb89bly17wj7sbaxkdnsgj-cl-njson-1.0.0.drv |
Linter | Message | Location |
---|---|---|
input-labels Identify input labels that do not match package names | label 'sbcl-cl-json' does not match package name 'cl-json' | |
input-labels Identify input labels that do not match package names | label 'sbcl-lisp-unit2' does not match package name 'cl-lisp-unit2' |