Home
last modified time | relevance | path

Searched defs:j (Results 1 – 25 of 4571) sorted by relevance

12345678910>>...183

/third_party/json/tests/src/
Dunit-capacity.cpp21 json j = true; variable
39 json j = "hello world"; variable
59 json j = json::array(); variable
77 json j = {1, 2, 3}; variable
98 json j = json::object(); variable
116 json j = {{"one", 1}, {"two", 2}, {"three", 3}}; variable
135 json j = -23; variable
153 json j = 23u; variable
171 json j = 23.42; variable
189 json j = nullptr; variable
[all …]
Dunit-element_access1.cpp19 json j = {1, 1u, true, nullptr, "string", 42.23, json::object(), {1, 2, 3}}; variable
440 json j; variable
445 const json j{}; variable
454 json j = "foo"; variable
459 const json j = "bar"; variable
468 json j = false; variable
473 const json j = true; variable
482 json j = 17; variable
487 const json j = 17; variable
496 json j = 17u; variable
[all …]
Dunit-modifiers.cpp21 json j = true; variable
31 json j = "hello world"; variable
43 json j = json::array(); variable
54 json j = {1, 2, 3}; variable
68 json j = json::object(); variable
79 json j = {{"one", 1}, {"two", 2}, {"three", 3}}; variable
93 json j = json::binary({}); variable
104 json j = json::binary({1, 2, 3, 4, 5}); variable
116 json j = 23; variable
126 json j = 23u; variable
[all …]
Dunit-constructor2.cpp20 json j {{"foo", 1}, {"bar", false}}; variable
27 json j {"foo", 1, 42.23, false}; variable
48 json j("Hello world"); variable
55 json j(42); variable
62 json j(42u); variable
69 json j(42.23); variable
76 json j = json::binary({1, 2, 3}); variable
84 json j {{"foo", "bar"}, {"baz", {1, 2, 3, 4}}, {"a", 42u}, {"b", 42.23}, {"c", nullptr}}; variable
95 json j {{"foo", 1}, {"bar", false}}; variable
103 json j {"foo", 1, 42.23, false}; variable
[all …]
Dunit-inspection.cpp24 json j {{"foo", 1}, {"bar", false}}; variable
42 json j {"foo", 1, 1u, 42.23, false}; variable
96 json j("Hello world"); variable
114 json j(42); variable
132 json j(42u); variable
150 json j(42.23); variable
205 …json j {{"object", json::object()}, {"array", {1, 2, 3, 4}}, {"number", 42}, {"boolean", false}, {… variable
347 json j = nullptr; variable
353 json j = {{"foo", "bar"}}; variable
359 json j = {1, 2, 3, 4}; variable
[all …]
Dunit-items.cpp28 json j = { {"A", 1}, {"B", 2} }; variable
61 json j = { {"A", 1}, {"B", 2} }; variable
105 json j = { {"A", 1}, {"B", 2} }; variable
138 json j = { {"A", 1}, {"B", 2} }; variable
174 const json j = { {"A", 1}, {"B", 2} }; variable
207 const json j = { {"A", 1}, {"B", 2} }; variable
240 const json j = { {"A", 1}, {"B", 2} }; variable
273 const json j = { {"A", 1}, {"B", 2} }; variable
309 json j = { "A", "B" }; variable
342 json j = { "A", "B" }; variable
[all …]
Dunit-constructor1.cpp109 json j{}; variable
200 …json j({{"a", json(1)}, {"b", json(1u)}, {"c", json(2.2)}, {"d", json(false)}, {"e", json("string"… variable
251 json j{1, 2.0, "string"}; variable
275 json j{1, 2.0, "string", 42}; variable
285 json j{1}; variable
375 json j({json(1), json(1u), json(2.2), json(false), json("string"), json()}); variable
430 json j("Hello world"); variable
774 json j(42); variable
781 json j(42u); variable
788 json j(42L); variable
[all …]
Dunit-class_const_iterator.cpp58 json j; variable
135 json j(17); variable
144 json j({{"foo", "bar"}}); variable
151 json j({1, 2, 3, 4}); variable
168 json j(17); variable
177 json j({{"foo", "bar"}}); variable
184 json j({1, 2, 3, 4}); variable
206 json j(17); variable
217 json j({{"foo", "bar"}}); variable
226 json j({1, 2, 3, 4}); variable
[all …]
Dunit-json_patch.cpp613 json j = "string"; variable
643 json j = {"good", "bad", "ugly"}; variable
668 json j; variable
675 json j; variable
686 json j; variable
697 json j; variable
708 json j; variable
722 json j; variable
733 json j; variable
744 json j; variable
[all …]
Dunit-serialization.cpp24 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
32 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
41 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
53 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
61 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
71 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable
84 json j = "ä\xA9ü"; variable
95 json j = "123\xC2"; variable
106 json j = "123\xF1\xB0\x34\x35\x36"; variable
123 json j = input; in __anon5d57a4610102() local
[all …]
Dunit-class_iterator.cpp125 json j(17); variable
134 json j({{"foo", "bar"}}); variable
141 json j({1, 2, 3, 4}); variable
158 json j(17); variable
167 json j({{"foo", "bar"}}); variable
174 json j({1, 2, 3, 4}); variable
196 json j(17); variable
207 json j({{"foo", "bar"}}); variable
216 json j({1, 2, 3, 4}); variable
247 json j(17); variable
[all …]
Dunit-ubjson.cpp105 json j = json::value_t::discarded; variable
112 json j = nullptr; variable
126 json j = true; variable
138 json j = false; variable
295 json j = -9263; variable
737 json j = v; variable
757 const auto j = json::from_ubjson(vec); variable
765 const auto j = json::from_ubjson(vec); variable
773 const auto j = json::from_ubjson(vec); variable
799 json j = 11111111111111111111ULL; variable
[all …]
Dunit-diagnostics.cpp25 json j = 1; variable
32 json j; variable
40 json j; variable
47 json j; variable
54 json j; variable
61 json j; variable
68 json j; variable
82 json j = {{"foo", "bar"}}; variable
100 json j; variable
172 nlohmann::ordered_json j; variable
[all …]
Dunit-testsuites.cpp81 json j; variable
97 json j; variable
318 json j; variable
333 json j; variable
340 json j; variable
347 json j; variable
354 json j; variable
361 json j; variable
581 json j; variable
823 json j; variable
[all …]
Dunit-comparison.cpp123 for (size_t j = 0; j < j_types.size(); ++j) variable
162 for (size_t j = 0; j < expected[i].size(); ++j) variable
175 for (size_t j = 0; j < j_types.size(); ++j) variable
291 for (size_t j = 0; j < j_values.size(); ++j) variable
335 for (size_t j = 0; j < j_values.size(); ++j) variable
354 for (size_t j = 0; j < j_values.size(); ++j) variable
373 for (size_t j = 0; j < j_values.size(); ++j) variable
408 for (size_t j = 0; j < j_values.size(); ++j) variable
422 for (size_t j = 0; j < j_values.size(); ++j) variable
447 for (size_t j = 0; j < j_values.size(); ++j) variable
[all …]
Dunit-cbor.cpp107 json j = json::value_t::discarded; variable
115 json j = std::numeric_limits<json::number_float_t>::quiet_NaN(); variable
124 json j = std::numeric_limits<json::number_float_t>::infinity(); variable
132 json j = nullptr; variable
146 json j = true; variable
158 json j = false; variable
321 json j = -9263; variable
821 json j = v; variable
842 json j = v; variable
856 json j = v; variable
[all …]
Dunit-bjdata.cpp226 json j = json::value_t::discarded; variable
233 json j = nullptr; variable
247 json j = true; variable
259 json j = false; variable
416 json j = -9263; variable
1112 json j = v; variable
1164 json j = json::from_bjdata(std::vector<uint8_t>({'h', 0x00, 0x00})); variable
1171 json j = json::from_bjdata(std::vector<uint8_t>({'h', 0x00, 0x80})); variable
1178 json j = json::from_bjdata(std::vector<uint8_t>({'h', 0x01, 0x00})); variable
1188 json j = json::from_bjdata(std::vector<uint8_t>({'h', 0x00, 0x7c})); variable
[all …]
Dunit-regression2.cpp96 void from_json(const json& j, Data& data) in from_json()
166 explicit sax_no_exception(json& j) in sax_no_exception()
213 inline void from_json(const nlohmann::json& j, FooBar& fb) in from_json()
241 inline void from_json(const json& j, for_3171_base& tb) in from_json()
256 inline void from_json(const json& j, for_3312& obj) in from_json()
308 inline for_3333::for_3333(const json& j) in for_3333()
393 auto j = json::parse(geojsonExample, cb, true); variable
399 float_json j = 1000.0; variable
443 json j = variable
515 json j = json::parse("[-9223372036854775808]"); variable
[all …]
Dunit-json_pointer.cpp53 json j = R"( variable
156 const json j = R"( variable
222 json j = R"( variable
256 json j = {1, 2, 3}; variable
370 const json j = {1, 2, 3}; variable
398 json j = variable
501 json j; variable
509 json j; variable
518 const json j = variable
594 const json j = variable
[all …]
Dunit-bson.cpp25 json j = nullptr; variable
33 json j = true; variable
39 json j = false; variable
46 json j = 42; variable
52 json j = 4.2; variable
58 json j = "not supported"; variable
71 json j = variable
100 json j = json::object(); variable
118 json j = variable
142 json j = variable
[all …]
Dunit-regression1.cpp105 friend void to_json(json& j, const nocopy& n) in to_json()
119 json j = json::parse(s); variable
174 json j = json::array(); variable
237 json j; variable
253 custom_json j; variable
345 json j; variable
356 json j; variable
391 json j; variable
439 json j; variable
597 json j = variable
[all …]
Dunit-msgpack.cpp109 json j = json::value_t::discarded; variable
116 json j = nullptr; variable
130 json j = true; variable
142 json j = false; variable
415 json j = -9263; variable
756 json j = v; variable
773 json j = v; variable
790 json j = v; variable
825 json j = s; variable
862 json j = s; variable
[all …]
Dunit-udt.cpp84 static void to_json(BasicJsonType& j, age a) in to_json()
90 static void to_json(BasicJsonType& j, const name& n) in to_json()
96 static void to_json(BasicJsonType& j, country c) in to_json()
115 static void to_json(BasicJsonType& j, const person& p) in to_json()
120 static void to_json(nlohmann::json& j, const address& a) in to_json()
125 static void to_json(nlohmann::json& j, const contact& c) in to_json()
130 static void to_json(nlohmann::json& j, const contact_book& cb) in to_json()
173 static void from_json(const BasicJsonType& j, age& a) in from_json()
179 static void from_json(const BasicJsonType& j, name& n) in from_json()
185 static void from_json(const BasicJsonType& j, country& c) in from_json()
[all …]
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp37 inline void from_json(const BasicJsonType& j, typename std::nullptr_t& n) in from_json()
51 void get_arithmetic_value(const BasicJsonType& j, ArithmeticType& val) in get_arithmetic_value()
84 inline void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json()
94 inline void from_json(const BasicJsonType& j, typename BasicJsonType::string_t& s) in from_json()
110 inline void from_json(const BasicJsonType& j, StringType& s) in from_json()
121 inline void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val) in from_json()
127 inline void from_json(const BasicJsonType& j, typename BasicJsonType::number_unsigned_t& val) in from_json()
133 inline void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val) in from_json()
141 inline void from_json(const BasicJsonType& j, EnumType& e) in from_json()
152 inline void from_json(const BasicJsonType& j, std::forward_list<T, Allocator>& l) in from_json()
[all …]
Dto_json.hpp265 inline void to_json(BasicJsonType& j, T b) noexcept in to_json()
278 inline void to_json(BasicJsonType& j, const BoolRef& b) noexcept in to_json()
285 inline void to_json(BasicJsonType& j, const CompatibleString& s) in to_json()
291 inline void to_json(BasicJsonType& j, typename BasicJsonType::string_t&& s) in to_json()
298 inline void to_json(BasicJsonType& j, FloatType val) noexcept in to_json()
305 inline void to_json(BasicJsonType& j, CompatibleNumberUnsignedType val) noexcept in to_json()
312 inline void to_json(BasicJsonType& j, CompatibleNumberIntegerType val) noexcept in to_json()
320 inline void to_json(BasicJsonType& j, EnumType e) noexcept in to_json()
328 inline void to_json(BasicJsonType& j, const std::vector<bool>& e) in to_json()
341 inline void to_json(BasicJsonType& j, const CompatibleArrayType& arr) in to_json()
[all …]

12345678910>>...183