blaise/stdlib
Graeme Geldenhuys 36065ecd7d feat(stdlib): add JSON library (writer, DOM, parser, reader)
A read+write JSON library for the standard library:

  Json.Writer  streaming serialiser — TStringBuilder-backed (O(n)), with a
               three-tier .NET-style API: WriteString(name,value) for object
               fields, WriteStringValue(value) for array elements, and WriteKey
               for nested-container values. Compact + pretty output. Standalone
               (no DOM dependency).
  Json.Types   in-memory document model (DOM): TJSONData + typed nodes, tree
               building, accessors; emits through Json.Writer.
  Json.Parser  RFC 8259 recursive-descent parser into the DOM, with full string
               escapes incl. \uXXXX surrogate pairs.
  Json.Reader  thin GetJSON(text) facade.

Adds the first stdlib test tree under stdlib/src/test/pascal: a self-registering
Json.Tests suite (19 tests), a Test.Registry hub unit, and a TestRunner program,
wired into 'pasbuild test -m blaise-stdlib' via the <test> block in project.xml.
run-tests.sh builds and runs the suite directly.
2026-06-22 20:07:34 +01:00
..
src feat(stdlib): add JSON library (writer, DOM, parser, reader) 2026-06-22 20:07:34 +01:00
project.xml feat(stdlib): add JSON library (writer, DOM, parser, reader) 2026-06-22 20:07:34 +01:00