trilean-json-shape 3.1.7

One Rust definition for validating JSON, a JSON Schema and TypeScript declarations.
Documentation
1
2
3
4
5
6
7
# trilean-json-shape

One Rust definition of a JSON shape that validates documents and writes the JSON Schema and TypeScript declarations for them, so the three cannot disagree. A type derives `Shape` (from [`trilean-json-shape-derive`](https://crates.io/crates/trilean-json-shape-derive)), reading the serde attributes it already carries; deserialising through serde is validating, with the path of every problem.

Part of [trilean](https://github.com/ExaDev/trilean), whose trees are defined with it.

MIT licensed.