Commit Graph
2 Commits
Author SHA1 Message Date
cflmy 3c14251c28 feat: add explicit strict JSON entry point
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Implement marqdo-std-data#13 without changing the default `json.解析`
behavior:

- `json.严格解析(文本)` rejects duplicate keys in one object level after
  decoding (`"\u0061"` equals `"a"`) with `json.duplicate_key`, and numbers that
  cannot be represented as finite binary64 values with
  `json.non_finite_number` (1e400 / -1e400 / 1.8e308 reject; 1e308 / 1.79e308
  stay finite).
- The strict validator reuses the existing tokenizer/parser helpers and the
  128-level depth limit; no second JSON grammar or parser is introduced.
- Candidate-input self-test: `tests/json-strict.mq.md` +
  `tests/cases-strict/json-strict.json` + `scripts/test-strict.sh`, kept
  separate from the default suite because the frozen ecosystem Bundle predates
  the new function. `run_cases.py` accepts `MARQDO_STDLIB_CASES_DIR`.
- README documents the new entry, error codes and candidate-Bundle test lane;
  docs/evidence records the real CLI runs and digests.

No cross-repo dependency, no CLI change, no release.
2026-11-30 12:18:07 +08:00
cflmy 848af7a357 migrate: own JSON/CSV and Table serialization; drop the value algorithms
Move JSON, CSV and the Table serialization half of the frozen module to their
unique source authority. Value operations now live only in std-collections;
there is no second implementation or legacy forwarder. Baseline JSON/CSV and
Table GFM expectations are carried into component cases.

Refs cflmy/marqdo#9, cflmy/marqdo-std-data#1
2026-11-26 23:32:22 +08:00