|
millijson
Lightweight JSON parser for C++
|
#include <millijson.hpp>
Public Attributes | |
| bool | number_as_string = false |
| std::size_t | buffer_size = sanisizer::cap<std::size_t>(65536) |
| bool | parallel = false |
Options for parse().
| std::size_t millijson::ParseOptions::buffer_size = sanisizer::cap<std::size_t>(65536) |
Size of the buffer for storing bytes before parsing. Larger values typically improve speed at the cost of memory efficiency.
| bool millijson::ParseOptions::number_as_string = false |
Whether to preserve the string representation for numbers. If true, all JSON numbers will be loaded as NumberAsString. Otherwise, they will be loaded as Number.
| bool millijson::ParseOptions::parallel = false |
Whether to parse and read bytes in parallel. This can reduce runtime on multi-core machines.