DAW JSON Link
Namespaces | Enumerations
daw_json_parse_options.h File Reference
#include "impl/version.h"

Go to the source code of this file.

Namespaces

 daw
 
 daw::json
 Customization point traits.
 
 daw::json::anonymous_namespace{daw_json_parse_options.h}
 
 daw::json::anonymous_namespace{daw_json_parse_options.h}::options
 
 daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options
 Options used in from_json/json_iterator/json_range to control global parsing options.
 

Enumerations

enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::AllowEscapedNames : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Allow the escape character '\' in names. This forces a slower parser and is generally not needed. The default is no, and the end of string matching only needs to look for a "</tt>, not skip <tt>\\" in names. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::CheckedParseMode : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no }
 Enable all structure, buffer, and type checking. The default is yes, but no still does some checking and can be faster. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::ExcludeSpecialEscapes : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Exclude characters under 0x20 that are not explicitly allowed. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::ExecModeTypes : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::compile_time , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::runtime , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::simd }
 Allow for different optimizations. Currently only the compile_time path is fully supported. The others may offer faster parsing. The default is compile_time, it provides constexpr parsing and generally is faster currently. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::ExpectLongNames : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Optimize name hashing for longer strings. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::ForceFullNameCheck : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 If the hashes of all members being looked are unique, the lookup of names as they are found in the document stops at hash checking by default. You can force a full string check by setting to yes. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::IEEE754Precise : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Use precise IEEE754 parsing of real numbers. The default is no, and results is much faster parsing with very small errors of 0-2ulp. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::MinifiedDocument : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 When document is minified, it is assumed that there is no whitespace in the document. Not all policies support this. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::MustVerifyEndOfDataIsValid : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Continue checking that the data is whitespace or empty after the end of top level object is parsed from from_json. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::PolicyCommentTypes : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::none , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::cpp , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::hash }
 Allow comments in JSON. The supported modes are none, C++ style comments, and # hash style comments. Default is none, no comments allowed. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::TemporarilyMutateBuffer : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 When enabled, the parser can temporarily set a character to the desired token. This allows for safe searching without bounds checking. If the buffer is not mutable, it will not be enabled. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::UseExactMappingsByDefault : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Set the default parser policy to require all JSON members in the parsed object be mapped. See also, the ignore_unknown_members and exact_class_mapping traits to set overrides. More...
 
enum class  daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::ZeroTerminatedString : unsigned { daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::no , daw::json::anonymous_namespace{daw_json_parse_options.h}::options::parser_options::yes }
 Input is a zero terminated string. If this cannot be detected, you can specify it here. Offers some optimization possibilities in the parser. Default is no, to try and detect, but use the safer assumption that the buffer does not end in zero. More...