json-streams

API Reference

json-streams

A stream based JSON parser/writer, well suited for higher as building block for higher level libraries.

JSON-STREAMS

  • Type JSON-OBJECT
  • Type JSON-ARRAY
  • Type JSON-STRING
  • Class JSON-STREAM
    STREAM
    CLOSE-STREAM
    STATE-STACK
    DUPLICATE-KEY-CHECK
    KEY-CHECK-STACK
  • Class JSON-INPUT-STREAM  (JSON-STREAM)
    MULTIPLE
    USE-RATIOS
    MAX-EXPONENT
    RAW-STRINGS
    CURRENT-CHAR
    POSITION   Reader: JSON-STREAM-POSITION
    NEWLINES
    STRING-MODE
  • Class JSON-OUTPUT-STREAM  (JSON-STREAM)
    MULTIPLE
    ESCAPE-NON-ASCII
    INDENT
    LEVEL
    KEY-ENCODER
  • Function JSON-CLOSE (json-stream &key abort)
  • Macro WITH-OPEN-JSON-STREAM ((var stream) &body body)
  • Condition JSON-ERROR  (ERROR)
  • Condition JSON-PARSE-ERROR  (JSON-ERROR)
  • Condition JSON-WRITE-ERROR  (JSON-ERROR)
  • Function MAKE-JSON-OUTPUT-STREAM (stream &key close-stream multiple indent escape-non-ascii (duplicate-key-check t) key-encoder)
  • Function JSON-WRITE (token *json-stream*)
  • Function MAKE-JSON-INPUT-STREAM (source &key (start 0) end close-stream multiple use-ratios (max-exponent 325) raw-strings (duplicate-key-check t))
  • Function JSON-READ (json-input-stream)
  • Function JSON-PARSE (source &rest options)
  • Function JSON-PARSE-MULTIPLE (source &rest options)
  • Function CALL-WITH-JSON-OUTPUT (target options function)
  • Macro WITH-JSON-OUTPUT ((&optional target &rest options) &body body)
  • Macro WITH-JSON-ARRAY (&body body)
  • Macro WITH-JSON-OBJECT (&body body)
  • Macro WITH-JSON-MEMBER (key &body body)
  • Function JSON-OUTPUT-MEMBER (key value)
  • Function JSON-OUTPUT-VALUE (value)
  • Function JSON-OUTPUT-BOOLEAN (value)
  • Function JSON-OUTPUT-NULL
  • Function JSON-OUTPUT-ALIST (alist)
  • Function JSON-OUTPUT-PLIST (plist)
  • Function JSON-STRINGIFY (value &optional target &rest options)
  • Function JSON-STRINGIFY-MULTIPLE (value &optional target &rest options)