Archived
1
0
Fork 0

gnu: sbcl-njson: Update to 1.1.1.

* gnu/packages/lisp-xyz.scm (sbcl-json): Update to 1.1.1.
[description]: Update description.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Artyom Bologov 2023-08-22 15:52:30 +04:00 committed by Maxim Cournoyer
parent 5978afa790
commit f9cfaf47ed
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -26600,7 +26600,7 @@ instead of #'FOO.
(define-public sbcl-njson (define-public sbcl-njson
(package (package
(name "sbcl-njson") (name "sbcl-njson")
(version "1.1.0") (version "1.1.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -26609,7 +26609,7 @@ instead of #'FOO.
(file-name (git-file-name "cl-njson" version)) (file-name (git-file-name "cl-njson" version))
(sha256 (sha256
(base32 (base32
"02m9l77am2rlkg83dyp3jvb76ifw1y84xh3wpz6cx7h2wkxkjnl5")))) "0zdf6mlbpc2j95qm000ljf642af18sfz45yxh6rnxrbf8m4laxxa"))))
(build-system asdf-build-system/sbcl) (build-system asdf-build-system/sbcl)
(inputs (list sbcl-cl-json sbcl-jzon)) (inputs (list sbcl-cl-json sbcl-jzon))
(native-inputs (list sbcl-lisp-unit2)) (native-inputs (list sbcl-lisp-unit2))
@ -26622,23 +26622,25 @@ instead of #'FOO.
and process JSON data, in the minimum keystrokes/minutes possible. and process JSON data, in the minimum keystrokes/minutes possible.
NJSON is parser-independent, with existing Common Lisp JSON parsers being NJSON is parser-independent, with existing Common Lisp JSON parsers being
loadable as additional system. @code{jzon} and @code{cl-json} backends are loadable as additional system. @code{jzon} is included by default, though.
included by default, though. Conveniences that NJSON provides are: Conveniences that NJSON provides are:
@itemize @itemize
@item @code{encode} and @code{decode} as single entry points for JSON reading @item @code{encode} and @code{decode} as single entry points for JSON reading
and writing, be it from streams/string/files, or from those. and writing, be it from streams/string/files, or from those.
@item @code{jget}, @code{jrem}, @code{jtruep}, and their aliases to @item @code{jget}, @code{jcopy}, @code{jkeys}, and their aliases to
access/delete the decoded objects' properties and check their truth value manipulate the decoded objects' properties without the need to worry
without the need to worry about the low-level details of how these values are about the low-level details of how these values are decoded.
decoded.
@item @code{jif}, @code{jwhen}, @code{jor}, @code{jand}, and other macros @item @code{jif}, @code{jwhen}, @code{jor}, @code{jand}, and other macros
mimicking Lisp ones, while using truth values of JSON-decoded data. mimicking Lisp ones, while using truth values of JSON-decoded data.
@item @code{jbind} and @code{jmatch} macros to destructure and
validate parsed JSON.
@item @code{njson/aliases} package to nickname to @code{j} for all the @item @code{njson/aliases} package to nickname to @code{j} for all the
forms conveniently accessible as @code{j:rem}, @code{j:get}, forms conveniently accessible as @code{j:get}, @code{j:copy},
@code{j:if} etc. @code{j:if} etc.
@end itemize\n") @end itemize\n")