sourcemeta / jsontoolkit

A swiss-army knife for expressive JSON programming in modern C++. Covers JSON, JSON Pointer, JSONL, and JSON Schema
https://jsontoolkit.sourcemeta.com/
Other
38 stars 3 forks source link

Extract JSON string logical size method as `static` #1253

Closed jviotti closed 1 month ago

jviotti commented 1 month ago

There are cases in which we want to check the logical size of a string according to the JSON grammar without turning the string into a JSON document (for performance reasons).

Signed-off-by: Juan Cruz Viotti jv@jviotti.com