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

Function to_string

include/jsoncons/basic_json.hpp:4699–4706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4697 }
4698
4699 std::basic_string<char_type> to_string() const noexcept
4700 {
4701 using string_type2 = std::basic_string<char_type>;
4702 string_type2 s;
4703 basic_compact_json_encoder<char_type, jsoncons::string_sink<string_type2>> encoder(s);
4704 dump(encoder);
4705 return s;
4706 }
4707
4708 object_range_type object_range()
4709 {

Callers 15

messageMethod · 0.70
to_what_argMethod · 0.70
to_jsonMethod · 0.50
custom_visitMethod · 0.50
visit_begin_objectMethod · 0.50
visit_begin_arrayMethod · 0.50
to_jsonMethod · 0.50

Calls 1

dumpFunction · 0.85

Tested by 5

to_jsonMethod · 0.40
custom_visitMethod · 0.40
visit_begin_objectMethod · 0.40
visit_begin_arrayMethod · 0.40
to_jsonMethod · 0.40