| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
JsonScanner is an internal, modified copy of GScanner; we don't need a
bunch of the provided functions, as the type and its related API are
meant for internal use only.
Fewer functions == better coverage == less code to maintain.
|
|
|
|
|
| |
The JsonScanner API is purely internal; the symbols it exposes should
not end up in the shared library ABI.
|
| |
|
| |
|
|
|
|
|
| |
Rename all the API and the data types to the Json namespace, so we can
use the internal copy instead of GScanner.
|
|
Instead of writing our tokenizer we can fork GScanner and make a
specialized version for JSON (as per RFC), luckily the licenses
are compatible (LGPLv2.1 with "any later" clause).
GScanner does not support Unicode "\uNNNN" escaping and we need to
ensure UTF-8 strings as well.
The API will mostly be the same, but the generic bits not used by
JsonParser will be hidden: this is, after all, a specialized
tokenizer.
|