This is the json-lib Reference Manual, version 0.8, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 05:35:41 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
json-lib
A simple and relatively fast JSON parser and encoder
Alex Nygren, KINA, LLC
MIT
0.8
alexandria
(system).
str
(system).
parse-float
(system).
cl-fad
(system).
babel
(system).
package.lisp
(file).
compliance.lisp
(file).
json-lib.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
json-lib/compliance.lisp
package.lisp
(file).
json-lib
(system).
*git-path*
(special variable).
*json-test-repo*
(special variable).
*verbose-mode*
(special variable).
build-parser-test-harness
(function).
close-result-page
(function).
create-result-page
(function).
dlog
(function).
emit-result-row
(function).
emit-result-table-footer
(function).
emit-result-table-header
(function).
get-tests
(function).
tstring
(function).
json-lib/json-lib.lisp
compliance.lisp
(file).
json-lib
(system).
encode-string
(function).
keyword-to-string
(function).
lisp-to-camelcase
(function).
lisp-to-snakecase
(function).
parse
(function).
snakecase-to-lisp
(function).
string-to-symbol
(function).
stringify
(function).
+cap-e+
(constant).
+cap-u+
(constant).
+colon+
(constant).
+comma+
(constant).
+e+
(constant).
+escape-char+
(constant).
+f-char+
(constant).
+forward-slash+
(constant).
+hyphen+
(constant).
+in-array+
(constant).
+in-boolean+
(constant).
+in-code+
(constant).
+in-comment+
(constant).
+in-key+
(constant).
+in-number+
(constant).
+in-pairs+
(constant).
+in-qm+
(constant).
+in-quotes+
(constant).
+in-string+
(constant).
+left-brace+
(constant).
+left-bracket+
(constant).
+new-line+
(constant).
+period+
(constant).
+plus+
(constant).
+quote+
(constant).
+right-brace+
(constant).
+right-bracket+
(constant).
+space+
(constant).
+t-char+
(constant).
+tab+
(constant).
+u+
(constant).
encode-cons
(function).
encode-entry
(function).
encode-hash-table
(function).
encode-list
(function).
encode-vector
(function).
lookup-escape
(function).
Packages are listed by definition order.
json-lib
common-lisp
.
encode-string
(function).
keyword-to-string
(function).
lisp-to-camelcase
(function).
lisp-to-snakecase
(function).
parse
(function).
snakecase-to-lisp
(function).
string-to-symbol
(function).
stringify
(function).
*git-path*
(special variable).
*json-test-repo*
(special variable).
*verbose-mode*
(special variable).
+cap-e+
(constant).
+cap-u+
(constant).
+colon+
(constant).
+comma+
(constant).
+e+
(constant).
+escape-char+
(constant).
+f-char+
(constant).
+forward-slash+
(constant).
+hyphen+
(constant).
+in-array+
(constant).
+in-boolean+
(constant).
+in-code+
(constant).
+in-comment+
(constant).
+in-key+
(constant).
+in-number+
(constant).
+in-pairs+
(constant).
+in-qm+
(constant).
+in-quotes+
(constant).
+in-string+
(constant).
+left-brace+
(constant).
+left-bracket+
(constant).
+new-line+
(constant).
+period+
(constant).
+plus+
(constant).
+quote+
(constant).
+right-brace+
(constant).
+right-bracket+
(constant).
+space+
(constant).
+t-char+
(constant).
+tab+
(constant).
+u+
(constant).
build-parser-test-harness
(function).
close-result-page
(function).
create-result-page
(function).
dlog
(function).
emit-result-row
(function).
emit-result-table-footer
(function).
emit-result-table-header
(function).
encode-cons
(function).
encode-entry
(function).
encode-hash-table
(function).
encode-list
(function).
encode-vector
(function).
get-tests
(function).
lookup-escape
(function).
tstring
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Given an encoded UTF-8 JSON string, returns a Common Lisp structure or value.
If use-keywords-for-keys is T, then hash table keys will be constructed as keywords.
If an object-key-handler lambda/function is provided, this will be called for each object key and the result
value used for the specific object key.
By default the limit is 1000 for structural depth, but this can be set with the keyword
max-depth. Exponent representation in serialized form is limited to a length of 2 to prevent huge values
causing slow downs and other issues in the conversion process.
Converts the given data structure to a stringified JSON form, suitable for serialization and other uses.
An optional function can be passed for case encoding of native lisp keyword structures.
If a function for unencodable-items is provided, this function will be called, and should return a JSON
compliant string representing the encoded items. If no value is provided for unencodable-items, the
JSON null value is used.
This function creates an HTML output table showing the results of compliance to the JSON Test Suite.
Pass a file path that is in a writable location. Be sure to close the result by calling close_result_page.
Returns a standardized time stamp as a string.
Jump to: | B C D E F G K L P S T |
---|
Jump to: | B C D E F G K L P S T |
---|
Jump to: | *
+
C S |
---|
Jump to: | *
+
C S |
---|
Jump to: | C F J P S |
---|
Jump to: | C F J P S |
---|