blaise/stdlib/project.xml
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

18 lines
324 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<project>
<name>blaise-stdlib</name>
<build>
<packaging>library</packaging>
<unitPaths>
<path>../runtime/src/main/pascal</path>
</unitPaths>
</build>
<test>
<framework>blaise</framework>
<testSource>testrunner.pas</testSource>
</test>
</project>