jsonparse 0.2.0

Strict JSON library for R6RS Scheme (RFC 8259)

Strict JSON library for R6RS Scheme built around a push parser, in the style of C’s YAJL.

You parse input as it arrives, or handle a huge document without building it in memory.

When you do want a tree, one call gives you plain Scheme values.

$ akku update
$ akku install jsonparse
$ .akku/env
Authors

Kiyomi Computation Systems LLC

License

BSD-3-Clause

Dependencies

Source code

https://github.com/Kiyomi-Computation-Systems/jsonparse.git git
641c73d14b0a272b8c2dce1a2eaabdf46c5c8c9e
Tag: v0.2.0

Package contents

  • (generated jsonparse) R6
    • → jsonparse-machine
    • ← (rnrs) R6
    • ← (byte-machine runtime)
  • (jsonparse easy) R6
    • → string->json bytevector->json read-json json->string json->bytevector write-json read-json-sequence bytevector->json-sequence fold-json-sequence write-json-sequence json-sequence->bytevector json-ref json=? json-null? &json-error json-error? json-error-reason json-error-offset &json-record-error json-record-error? json-error-record make-json-options json-options? make-json-number json-number? json-number-text
    • ← (rnrs) R6
    • ← (jsonparse error)
    • ← (jsonparse options)
    • ← (jsonparse parser)
    • ← (jsonparse sequence)
    • ← (jsonparse string)
    • ← (jsonparse tree)
    • ← (jsonparse writer)
  • (jsonparse error) R6
    • → &json-error make-json-error json-error? json-error-reason json-error-offset &json-record-error make-json-record-error json-record-error? json-error-record
    • ← (rnrs) R6
  • (jsonparse options) R6
    • → make-json-options json-options? json-options-depth-limit json-options-number-mode json-options-digit-limit json-options-object-mode json-options-null json-options-indent json-options-stream json-options-blank-lines
    • ← (rnrs) R6
  • (jsonparse parser) R6
    • → make-json-handler json-handler? make-json-stop json-stop? make-json-parser json-parser? json-parser-feed! json-parser-finish! json-parser-reset! json-parser-offset make-json-result json-result? json-result-status json-result-code json-result-offset
    • ← (rnrs) R6
    • ← (byte-machine runtime)
    • ← (generated jsonparse)
    • ← (jsonparse options)
  • (jsonparse sequence) R6
    • → make-json-reader json-reader? json-reader-feed! json-reader-finish! json-reader-reset! json-reader-record
    • ← (rnrs) R6
    • ← (jsonparse options)
    • ← (jsonparse parser)
    • ← (jsonparse tree)
  • (jsonparse string) R6
    • → make-json-assembler json-assembler? json-assembler-chars! json-assembler-escape! json-assembler-string! json-assembler-number-chars! json-assembler-number! json-assembler-reset! make-json-number json-number? json-number-text
    • ← (rnrs) R6
    • ← (jsonparse options)
    • ← (jsonparse parser)
  • (jsonparse tree) R6
    • → make-json-builder json-builder? json-builder-feed! json-builder-finish! json-builder-value json-builder-reset!
    • ← (rnrs) R6
    • ← (jsonparse options)
    • ← (jsonparse parser)
    • ← (jsonparse string)
  • (jsonparse writer) R6
    • → put-json check-json put-json-record
    • ← (rnrs) R6
    • ← (jsonparse error)
    • ← (jsonparse options)
    • ← (jsonparse string)

Version history

  • 2026-11-13 ~ 0.2.0