6 #ifndef CPPTL_JSON_FEATURES_H_INCLUDED
7 #define CPPTL_JSON_FEATURES_H_INCLUDED
9 #if !defined(JSON_IS_AMALGAMATION)
Configuration passed to reader and writer.
bool strictRoot_
true if root must be either an array or an object value.
bool allowComments_
true if comments are allowed. Default: true.
Features()
Initialize the configuration like JsonConfig::allFeatures;.
static Features all()
A configuration that allows all features and assumes all strings are UTF-8.
static Features strictMode()
A configuration that is strictly compatible with the JSON specification.
bool allowNumericKeys_
true if numeric object key are allowed. Default: false.
bool allowDroppedNullPlaceholders_
true if dropped null placeholders are allowed. Default: false.
JSON (JavaScript Object Notation).