MCPcopy Create free account
hub / github.com/boostorg/json / testObjects

Method testObjects

test/value_ref.cpp:316–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 void
317 testObjects()
318 {
319 make_object({
320 {"k1",1}
321 }, "{\"k1\":1}");
322 make_object({
323 {"k1",1}, {"k2",2}
324 }, "{\"k1\":1,\"k2\":2}");
325 make_object({
326 {"k1", {1,2}}, {"k2", {1,2,3}}
327 }, "{\"k1\":[1,2],\"k2\":[1,2,3]}");
328 make_object({
329 {"k1", {{"k2",2}, {"k3",3}}}
330 }, "{\"k1\":{\"k2\":2,\"k3\":3}}");
331 }
332
333 void
334 testMoveFrom()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected