nlib
nn::nlib::msgpack::JsonReaderSettings Struct Reference

Data structure used to store the JsonReader settings parameters. More...

#include "nn/nlib/msgpack/JsonReader.h"

Public Member Functions

constexpr JsonReaderSettings (size_t max_array_size_, size_t max_map_size_, size_t max_str_len_, size_t max_depth_) noexcept
 Instantiates the object. Sets the individual data members.
 
constexpr JsonReaderSettings () noexcept
 Instantiates the object with default parameters (default constructor). Sets each data member to the default value.
 

Public Attributes

size_t maxArraySize
 Specifies the maximum size of the JSON array being read. The default is 8192.
 
size_t maxMapSize
 Specifies the maximum size of the JSON associative array being read. The default is 256.
 
size_t maxStrLen
 Specifies the maximum size (in bytes) of the string being read. The default is 2047.
 
size_t maxDepth
 Specifies the maximum depth of JSON (recursive structure). The default is 7.
 

Detailed Description

Data structure used to store the JsonReader settings parameters.

Definition at line 19 of file JsonReader.h.


The documentation for this struct was generated from the following files: