Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 641 Bytes

msgpack_options.md

File metadata and controls

27 lines (17 loc) · 641 Bytes

jsoncons::msgpack::msgpack_options

#include <jsoncons_ext/msgpack/msgpack_options.hpp>

class msgpack_options;

msgpack_options

Specifies options for reading and writing CBOR.

Constructors

msgpack_options()

Constructs a msgpack_options with default values.

Modifiers

void max_nesting_depth(int depth)

The maximum nesting depth allowed when decoding and encoding MessagePack. Default is 1024. Parsing can have an arbitrarily large depth limited only by available memory. Serializing a basic_json to MessagePack is limited by stack size.