Lines Matching refs:data
95 void from_json(const json& j, Data& data);
96 void from_json(const json& j, Data& data)
98 j["a"].get_to(data.a);
99 j["b"].get_to(data.b);
456 const auto data = j.get<decltype(expected)>();
457 CHECK(expected == data);
499 const std::array<int, 108> data =
504 for (int i : data)
597 SECTION("issue #2067 - cannot serialize binary data to text JSON")
599 const std::array<unsigned char, 23> data = {{0x81, 0xA4, 0x64, 0x61, 0x74, 0x61, 0xC4, 0x0F, 0x33, 0x30, 0x30, 0x32, 0x33, 0x34, 0x30, 0x31, 0x30, 0x37, 0x30, 0x35, 0x30, 0x31, 0x30}};
600 json j = json::from_msgpack(data.data(), data.size());
620 std::vector<uint8_t> data =
633 json result = json::from_cbor(data, true, false);
651 for (const auto& data : intData)
653 jsonObj[data.first] = data.second;