Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielaparker/jsoncons
/ wjson_object
Function
wjson_object
examples/src/wjson_examples.cpp:16–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
using namespace jsoncons;
15
16
void wjson_object()
17
{
18
wjson j;
19
j[L
"field1"
] = L
"test"
;
20
j[L
"field2"
] = 3.9;
21
j[L
"field3"
] = true;
22
std::wcout << j << L
"\n"
;
23
}
24
25
#if 0
26
void wjson_escape_u2()
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected