Files
json/docs/mkdocs/docs/api/macros/index.md
T
Niels Lohmann 1d2526b1d8 Make parsing from std::istream and FILE* fast
Squashed onto develop cd6b428ef (CI fixes from #5860). Original commits:

- Let the lexer's bulk fast paths run on a window of the input
- Scan the get area of an input stream in bulk
- Lock a FILE once per parse instead of once per character
- Add benchmarks for parsing from a FILE* and for many values from a stream
- Avoid implicit unsigned char to char conversion in stream tests
- Make file_input_adapter::unlock() safe to call on a moved-from adapter

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-10-17 08:29:45 +02:00

8.8 KiB

Macros

Some aspects of the library can be configured by defining preprocessor macros before including the json.hpp header. See also the macro overview page.

Runtime assertions

Exceptions

Parsing

Language support

Library version

Library namespace

Type conversions

Deprecated functions

Comparison behavior

Serialization/deserialization macros

Enums

Classes and structs