MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / get_json_string

Function get_json_string

example/create_and_destroy_map.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "sonic/sonic.h"
5
6std::string get_json_string() {
7 return R"(
8 {
9 "a":[
10 {"b":1, "c":2, "d":3, "e":4}
11 ]
12 }
13 )";
14}
15
16int main() {
17 std::string json = get_json_string();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected