MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / json_decoder

Method json_decoder

include/jsoncons/json_decoder.hpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71public:
72 json_decoder(const allocator_type& alloc = allocator_type(),
73 const temp_allocator_type& temp_alloc = temp_allocator_type())
74 : allocator_(alloc),
75 result_(),
76 name_(alloc),
77 item_stack_(alloc),
78 structure_stack_(temp_alloc)
79 {
80 item_stack_.reserve(1000);
81 structure_stack_.reserve(100);
82 structure_stack_.emplace_back(structure_type::root_t, 0);
83 }
84
85 json_decoder(temp_allocator_arg_t,
86 const temp_allocator_type& temp_alloc = temp_allocator_type())

Callers

nothing calls this directly

Calls 1

reserveMethod · 0.45

Tested by

no test coverage detected