ujjsontok
ujjsontok is a lightweight tokenizer component used to break JSON input into a sequence of tokens in the ujjson family of tooling. It is designed to work alongside a JSON parser, providing the lexical analysis stage required to interpret JSON documents. The tokenizer exposes a stream of tokens corresponding to the lexical elements of JSON: structural tokens for { } [ ] :, and ,; literal tokens for true, false, null; as well as value tokens for strings and numbers. It can report the location (line and column) of each token and supports streaming input, allowing large JSON documents to be tokenized incrementally.
Design and features: The module emphasizes predictable, deterministic token emission, with Unicode support inside string values
Usage: In a typical workflow, ujjsontok is fed chunks of a JSON stream and emits tokens to
Copyright and licensing: As with other ujjson components, ujjsontok is released under an open-source license and