Package com.darkcollective.relix.json
package com.darkcollective.relix.json
A minimal, dependency-free streaming JSON writer.
JsonWriter is a fluent builder that
emits compact, spec-correct JSON: it escapes strings, rejects non-finite
numbers, and enforces structural well-formedness (balanced objects/arrays,
a name before every object value) so malformed output fails fast at the call
site rather than silently producing broken JSON.
It is intentionally small — there is no parsing, no reflection, and no
object mapping. Higher-level serializers walk their own domain types
(RA trees, physical plans, optimization records) and drive a
JsonWriter directly.
-
ClassesClassDescriptionA minimal, dependency-free JSON parser producing plain Java objects — the reading counterpart to
JsonWriter, for callers that want a document back rather than a typed domain object.JSON string-literal escaping — the single source of truth for turning a JavaStringinto a quoted, correctly-escaped JSON string.A minimal, dependency-free streaming writer for JSON text.