This is the trivial-json-codec Reference Manual, version 0.3.12, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 19:47:54 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-json-codec
A JSON parser able to identify class hierarchies.
Eric Diethelm <ediethelm@yahoo.com>
MIT
0.3.12
trivial-utilities
(system).
log4cl
(system).
closer-mop
(system).
iterate
(system).
parse-number
(system).
package.lisp
(file).
trivial-json-codec.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-json-codec/trivial-json-codec.asd
trivial-json-codec/package.lisp
trivial-json-codec/trivial-json-codec.lisp
trivial-json-codec/trivial-json-codec.asd
trivial-json-codec
(system).
trivial-json-codec/trivial-json-codec.lisp
trivial-json-codec
(system).
*slots-to-ignore-in-serialization*
(special variable).
deserialize-json
(function).
deserialize-raw
(function).
read-array
(function).
read-number
(function).
read-string
(function).
serialize
(generic function).
serialize-json
(function).
consume
(function).
create-object-from-json
(function).
create-symbol-from-json
(function).
parse-array
(function).
parse-keyvalue
(function).
parse-object
(function).
read-false
(function).
read-null
(function).
read-true
(function).
skip-blanks
(function).
Packages are listed by definition order.
trivial-json-codec
trivial-json-codec provides a JSON parser able to identify class hierarchies.
common-lisp
.
*slots-to-ignore-in-serialization*
(special variable).
deserialize-json
(function).
deserialize-raw
(function).
read-array
(function).
read-number
(function).
read-string
(function).
serialize
(generic function).
serialize-json
(function).
consume
(function).
create-object-from-json
(function).
create-symbol-from-json
(function).
parse-array
(function).
parse-keyvalue
(function).
parse-object
(function).
read-false
(function).
read-null
(function).
read-true
(function).
skip-blanks
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Reads *JSON-STR* and creates an according object.
If *CLASS* is non-nil and represents a class, an instance of it is returned. Otherwise only built-in types can be deserialized.
*READ-TABLE* makes it possible to inject specific readers, as pondons to *SERIALIZE*. It has the form of an alist containing the dispatch character as car and the deserialization function as cdr.
*CONSTRUCTORS* holds an alist mapping the keyword returned by a specific reader to a object construction function.
Deserialize *JSON-STR* into a property list. As opposed to *DESERIALIZE-JSON* this function does not require a base class to deserialize.
Takes *OBJ* and serializes it into a string. Uses the generic *SERIALIZE* to do the job.
Serialize an object *OBJ* into *STREAM*.
Implementations for built-in types already exist. The user might extend with methods for specific types.
standard-object
) stream) ¶symbol
) stream) ¶array
) stream) ¶list
) stream) ¶float
) stream) ¶integer
) stream) ¶string
) stream) ¶(eql t)
) stream) ¶function
) stream) ¶(eql nil)
) stream) ¶Consumes one element from the beginning of the string and returns the values (produced-element consumed-until).
Jump to: | C D F G M P R S |
---|
Jump to: | C D F G M P R S |
---|
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*slots-to-ignore-in-serialization* : | Public special variables | ||
| |||
S | |||
Special Variable, *slots-to-ignore-in-serialization* : | Public special variables | ||
|
Jump to: | *
S |
---|
Jump to: | F P S T |
---|
Jump to: | F P S T |
---|