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

Function encode_json_pretty

include/jsoncons/encode_json.hpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285
286template <typename... Args>
287void encode_json_pretty(Args&& ... args)
288{
289 auto result = try_encode_json_pretty(std::forward<Args>(args)...);
290 if (!result)
291 {
292 JSONCONS_THROW(ser_error(result.error()));
293 }
294}
295
296} // namespace jsoncons
297

Callers 15

tuple_exampleFunction · 0.85
variant_exampleFunction · 0.85
variant_example2Function · 0.85
variant_example3Function · 0.85
variant_example4Function · 0.85
distinguish_by_typeFunction · 0.85

Calls 3

try_encode_json_prettyFunction · 0.85
ser_errorClass · 0.85
errorMethod · 0.80

Tested by

no test coverage detected