Home
last modified time | relevance | path

Searched full:json (Results 1 - 25 of 14508) sorted by relevance

12345678910>>...581

/third_party/json/tests/src/
H A Dunit-constructor1.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
13 using nlohmann::json;
30 auto t = json::value_t::null;
31 json j(t);
37 auto t = json::value_t::discarded;
38 json j(t);
44 auto t = json::value_t::object;
45 json
[all...]
H A Dunit-testsuites.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
17 TEST_CASE("compliance tests from json.org")
19 // test cases are from https://json.org/JSON_checker/
25 //TEST_DATA_DIRECTORY "/json_tests/fail1.json",
26 TEST_DATA_DIRECTORY "/json_tests/fail2.json",
27 TEST_DATA_DIRECTORY "/json_tests/fail3.json",
28 TEST_DATA_DIRECTORY "/json_tests/fail4.json",
[all...]
H A Dunit-element_access1.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
13 using nlohmann::json;
19 json j = {1, 1u, true, nullptr, "string", 42.23, json::object(), {1, 2, 3}};
20 const json j_const = j;
26 CHECK(j.at(0) == json(1));
27 CHECK(j.at(1) == json(1u));
28 CHECK(j.at(2) == json(tru
[all...]
H A Dunit-conversions.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
20 #include <nlohmann/json.hpp>
21 using nlohmann::json;
39 json::object_t o_reference = {{"object", json::object()},
46 json j(o_reference);
48 SECTION("json::object_t")
50 json::object_t o = j.get<json
1559 CHECK(json(TS_INVALID) == json()); global() variable
[all...]
H A Dunit-iterators2.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
18 #include <nlohmann/json.hpp>
19 using nlohmann::json;
30 json j_values = {nullptr, true, 42, 42u, 23.23, {{"one", 1}, {"two", 2}}, {1, 2, 3, 4, 5}, "Hello, world"};
32 for (json& j : j_values)
74 if (j.type() == json::value_t::object)
77 CHECK_THROWS_WITH_AS(it1 < it1, "[json.exception.invalid_iterator.213] (/5) cannot compare order of object iterators", json::invalid_iterator&);
78 CHECK_THROWS_WITH_AS(it1 < it2, "[json
[all...]
H A Dunit-modifiers.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
13 using nlohmann::json;
21 json j = true;
22 json k = j;
25 CHECK(j == json(json::value_t::boolean));
26 CHECK(j == json(k.type()));
31 json
[all...]
H A Dunit-diagnostics.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
18 #include <nlohmann/json.hpp>
19 using nlohmann::json;
23 SECTION("empty JSON Pointer")
25 json j = 1;
27 CHECK_THROWS_WITH_AS(s = j.get<std::string>(), "[json.exception.type_error.302] type must be string, but is number", json::type_error);
32 json j;
35 CHECK_THROWS_WITH_AS(s = j["a"]["b"]["c"].get<std::string>(), "[json
[all...]
H A Dunit-msgpack.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
42 bool number_integer(json::number_integer_t /*unused*/) in number_integer()
47 bool number_unsigned(json::number_unsigned_t /*unused*/) in number_unsigned()
52 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/) in number_float()
92 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static) in parse_error()
109 json j = json
[all...]
H A Dunit-json_patch.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
20 TEST_CASE("JSON patch")
26 // the ordering of members in JSON objects is not significant:
27 json op1 = R"({ "op": "add", "path": "/a/b/c", "value": "foo" })"_json;
28 json op2 = R"({ "path": "/a/b/c", "op": "add", "value": "foo" })"_json;
29 json op3 = R"({ "value": "foo", "path": "/a/b/c", "op": "add" })"_json;
38 json patch
[all...]
H A Dunit-cbor.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
40 bool number_integer(json::number_integer_t /*unused*/) in number_integer()
45 bool number_unsigned(json::number_unsigned_t /*unused*/) in number_unsigned()
50 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/) in number_float()
90 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static) in parse_error()
107 json j = json
[all...]
H A Dunit-reference_access.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
16 // create a JSON value with different types
17 json json_types =
33 using test_type = json::object_t;
34 json value = {{"one", 1}, {"two", 2}};
46 CHECK_NOTHROW(value.get_ref<json::object_t&>());
47 CHECK_THROWS_WITH_AS(value.get_ref<json
[all...]
H A Dunit-ubjson.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
38 bool number_integer(json::number_integer_t /*unused*/) in number_integer()
43 bool number_unsigned(json::number_unsigned_t /*unused*/) in number_unsigned()
48 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/) in number_float()
88 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static) in parse_error()
105 json j = json
[all...]
H A Dunit-element_access2.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
20 TEST_CASE_TEMPLATE("element access 2", Json, nlohmann::json, nlohmann::ordered_json)
24 Json j = {{"integer", 1}, {"unsigned", 1u}, {"floating", 42.23}, {"null", nullptr}, {"string", "hello world"}, {"boolean", true}, {"object", Json::object()}, {"array", {1, 2, 3}}};
25 const Json j_const = j;
31 CHECK(j.at("integer") == Json(1));
32 CHECK(j.at("unsigned") == Json(
[all...]
H A Dunit-bjdata.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
13 using nlohmann::json;
42 bool number_integer(json::number_integer_t /*unused*/) in number_integer()
47 bool number_unsigned(json::number_unsigned_t /*unused*/) in number_unsigned()
52 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/) in number_float()
92 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static) in parse_error()
215 nlohmann::detail::binary_reader<json, decltype(ia)> br{std::move(ia), json
[all...]
H A Dunit-json_pointer.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
12 #include <nlohmann/json.hpp>
13 using nlohmann::json;
21 TEST_CASE("JSON pointers")
25 CHECK_THROWS_WITH_AS(json::json_pointer("foo"),
26 "[json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'foo'", json::parse_error&);
28 CHECK_THROWS_WITH_AS(json
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dframe_capture_utils.cpp111 GroupScope(JsonSerializer *json, const std::string &name) : mJson(json) in GroupScope() argument
116 GroupScope(JsonSerializer *json, const std::string &name, int index) : mJson(json) in GroupScope() argument
124 GroupScope(JsonSerializer *json, int index) : GroupScope(json, "", index) {} in GroupScope() argument
132 void SerializeColorF(JsonSerializer *json, const ColorF &color) in SerializeColorF() argument
134 json->addScalar("red", color.red); in SerializeColorF()
135 json->addScalar("green", color.green); in SerializeColorF()
136 json in SerializeColorF()
140 SerializeColorFWithGroup(JsonSerializer *json, const char *groupName, const ColorF &color) SerializeColorFWithGroup() argument
146 SerializeColorI(JsonSerializer *json, const ColorI &color) SerializeColorI() argument
154 SerializeColorUI(JsonSerializer *json, const ColorUI &color) SerializeColorUI() argument
162 SerializeExtents(JsonSerializer *json, const gl::Extents &extents) SerializeExtents() argument
170 SerializeOffsetBindingPointerVector( JsonSerializer *json, const char *groupName, const std::vector<gl::OffsetBindingPointer<ObjectType>> &offsetBindingPointerVector) SerializeOffsetBindingPointerVector() argument
187 SerializeBindingPointerVector( JsonSerializer *json, const std::vector<gl::BindingPointer<ObjectType>> &bindingPointerVector) SerializeBindingPointerVector() argument
206 SerializeRange(JsonSerializer *json, const gl::Range<T> &range) SerializeRange() argument
219 SerializeFormat(JsonSerializer *json, GLenum glFormat) SerializeFormat() argument
225 SerializeInternalFormat(JsonSerializer *json, const gl::InternalFormat *internalFormat) SerializeInternalFormat() argument
230 SerializeANGLEFormat(JsonSerializer *json, const angle::Format *format) SerializeANGLEFormat() argument
235 SerializeGLFormat(JsonSerializer *json, const gl::Format &format) SerializeGLFormat() argument
262 SerializeImageIndex(JsonSerializer *json, const gl::ImageIndex &imageIndex) SerializeImageIndex() argument
271 SerializeFramebufferAttachment(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Framebuffer *framebuffer, const gl::FramebufferAttachment &framebufferAttachment, gl::GLenumGroup enumGroup) SerializeFramebufferAttachment() argument
330 SerializeFramebufferState(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Framebuffer *framebuffer, const gl::FramebufferState &framebufferState) SerializeFramebufferState() argument
393 SerializeFramebuffer(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Framebuffer *framebuffer) SerializeFramebuffer() argument
402 SerializeRasterizerState(JsonSerializer *json, const gl::RasterizerState &rasterizerState) SerializeRasterizerState() argument
417 SerializeRectangle(JsonSerializer *json, const std::string &name, const gl::Rectangle &rectangle) SerializeRectangle() argument
428 SerializeBlendStateExt(JsonSerializer *json, const gl::BlendStateExt &blendStateExt) SerializeBlendStateExt() argument
442 SerializeDepthStencilState(JsonSerializer *json, const gl::DepthStencilState &depthStencilState) SerializeDepthStencilState() argument
464 SerializeVertexAttribCurrentValueData( JsonSerializer *json, const gl::VertexAttribCurrentValueData &vertexAttribCurrentValueData) SerializeVertexAttribCurrentValueData() argument
494 SerializePixelPackState(JsonSerializer *json, const gl::PixelPackState &pixelPackState) SerializePixelPackState() argument
506 SerializePixelUnpackState(JsonSerializer *json, const gl::PixelUnpackState &pixelUnpackState) SerializePixelUnpackState() argument
517 SerializeImageUnit(JsonSerializer *json, const gl::ImageUnit &imageUnit, int imageUnitIndex) SerializeImageUnit() argument
529 SerializeResourceID(JsonSerializer *json, const char *name, const ResourceType *resource) SerializeResourceID() argument
534 SerializeContextState(JsonSerializer *json, const gl::State &state) SerializeContextState() argument
674 SerializeBufferState(JsonSerializer *json, const gl::BufferState &bufferState) SerializeBufferState() argument
686 SerializeBuffer(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Buffer *buffer) SerializeBuffer() argument
709 SerializeColorGeneric(JsonSerializer *json, const std::string &name, const ColorGeneric &colorGeneric) SerializeColorGeneric() argument
732 SerializeSamplerState(JsonSerializer *json, const gl::SamplerState &samplerState) SerializeSamplerState() argument
748 SerializeSampler(JsonSerializer *json, gl::Sampler *sampler) SerializeSampler() argument
755 SerializeSwizzleState(JsonSerializer *json, const gl::SwizzleState &swizzleState) SerializeSwizzleState() argument
763 SerializeRenderbufferState(JsonSerializer *json, const gl::RenderbufferState &renderbufferState) SerializeRenderbufferState() argument
774 SerializeRenderbuffer(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Renderbuffer *renderbuffer) SerializeRenderbuffer() argument
822 SerializeWorkGroupSize(JsonSerializer *json, const sh::WorkGroupSize &workGroupSize) SerializeWorkGroupSize() argument
830 SerializeShaderVariable(JsonSerializer *json, const sh::ShaderVariable &shaderVariable) SerializeShaderVariable() argument
860 SerializeShaderVariablesVector(JsonSerializer *json, const std::vector<sh::ShaderVariable> &shaderVariables) SerializeShaderVariablesVector() argument
869 SerializeInterfaceBlocksVector(JsonSerializer *json, const std::vector<sh::InterfaceBlock> &interfaceBlocks) SerializeInterfaceBlocksVector() argument
888 SerializeShaderState(JsonSerializer *json, const gl::ShaderState &shaderState) SerializeShaderState() argument
928 SerializeShader(JsonSerializer *json, GLuint id, gl::Shader *shader) SerializeShader() argument
946 SerializeVariableLocationsVector(JsonSerializer *json, const std::string &group_name, const std::vector<gl::VariableLocation> &variableLocations) SerializeVariableLocationsVector() argument
961 SerializeBlockMemberInfo(JsonSerializer *json, const sh::BlockMemberInfo &blockMemberInfo) SerializeBlockMemberInfo() argument
971 SerializeActiveVariable(JsonSerializer *json, const gl::ActiveVariable &activeVariable) SerializeActiveVariable() argument
976 SerializeBufferVariablesVector(JsonSerializer *json, const std::vector<gl::BufferVariable> &bufferVariables) SerializeBufferVariablesVector() argument
990 SerializeProgramAliasedBindings(JsonSerializer *json, const gl::ProgramAliasedBindings &programAliasedBindings) SerializeProgramAliasedBindings() argument
1001 SerializeProgramState(JsonSerializer *json, const gl::ProgramState &programState) SerializeProgramState() argument
1033 SerializeProgramBindings(JsonSerializer *json, const gl::ProgramBindings &programBindings) SerializeProgramBindings() argument
1042 SerializeUniformData(JsonSerializer *json, const gl::Context *context, gl::Program *program, gl::UniformLocation loc, GLenum type, GLint size, void (gl::Program::*getFunc)(const gl::Context *, gl::UniformLocation, T *) const) SerializeUniformData() argument
1057 SerializeProgram(JsonSerializer *json, const gl::Context *context, GLuint id, gl::Program *program) SerializeProgram() argument
1131 SerializeImageDesc(JsonSerializer *json, size_t descIndex, const gl::ImageDesc &imageDesc) SerializeImageDesc() argument
1147 SerializeTextureState(JsonSerializer *json, const gl::TextureState &textureState) SerializeTextureState() argument
1178 SerializeTextureData(JsonSerializer *json, const gl::Context *context, gl::Texture *texture, ScratchBuffer *scratchBuffer) SerializeTextureData() argument
1248 SerializeTexture(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Texture *texture) SerializeTexture() argument
1268 SerializeVertexAttributeVector(JsonSerializer *json, const std::vector<gl::VertexAttribute> &vertexAttributes) SerializeVertexAttributeVector() argument
1284 SerializeVertexBindingsVector(JsonSerializer *json, const std::vector<gl::VertexBinding> &vertexBindings) SerializeVertexBindingsVector() argument
1299 SerializeVertexArrayState(JsonSerializer *json, const gl::VertexArrayState &vertexArrayState) SerializeVertexArrayState() argument
1323 SerializeVertexArray(JsonSerializer *json, gl::VertexArray *vertexArray) SerializeVertexArray() argument
1335 JsonSerializer json; SerializeContextToString() local
[all...]
/third_party/json/
H A DChangeLog.md4 ## [3.11.2](https://github.com/nlohmann/json/releases/tag/3.11.2) (2022-08-12)
6 [Full Changelog](https://github.com/nlohmann/json/compare/v3.11.1...3.11.2)
8 - MSVC natvis visualizer does not work after introduction of inline ABI namespace [\#3696](https://github.com/nlohmann/json/issues/3696)
9 - The use of parenthesis gives compilation errors in some situations [\#3682](https://github.com/nlohmann/json/issues/3682)
10 - extern from/to\_json result in linker error [\#3657](https://github.com/nlohmann/json/issues/3657)
11 - json\_fwd.hpp no longer standalone [\#3656](https://github.com/nlohmann/json/issues/3656)
12 - regression: `.value<size_t>` is compilation error. [\#3655](https://github.com/nlohmann/json/issues/3655)
13 - Regression: no match for 'operator!=' comparing json\_pointer and const char \*/string\_t [\#3654](https://github.com/nlohmann/json/issue
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp43 void AuthMessageProcessor::GetJsonObj(nlohmann::json &jsonObj) in GetJsonObj()
86 nlohmann::json jsonObj; in CreateAuthRequestMessage()
92 nlohmann::json jsonThumbnailObj; in CreateAuthRequestMessage()
112 nlohmann::json jsonObj; in CreateSimpleMessage()
144 void AuthMessageProcessor::CreatePublicKeyMessageExt(nlohmann::json &json) in CreatePublicKeyMessageExt() argument
146 json[TAG_PUBLICKEY] = authResponseContext_->publicKey; in CreatePublicKeyMessageExt()
149 void AuthMessageProcessor::CreateResponseAuthMessageExt(nlohmann::json &json) in CreateResponseAuthMessageExt() argument
151 json[TAG_REPL in CreateResponseAuthMessageExt()
157 CreateNegotiateMessage(nlohmann::json &json) CreateNegotiateMessage() argument
186 CreateRespNegotiateMessage(nlohmann::json &json) CreateRespNegotiateMessage() argument
219 CreateSyncGroupMessage(nlohmann::json &json) CreateSyncGroupMessage() argument
225 CreateResponseAuthMessage(nlohmann::json &json) CreateResponseAuthMessage() argument
253 CreateResponseFinishMessage(nlohmann::json &json) CreateResponseFinishMessage() argument
302 ParsePublicKeyMessageExt(nlohmann::json &json) ParsePublicKeyMessageExt() argument
309 ParseAuthResponseMessageExt(nlohmann::json &json) ParseAuthResponseMessageExt() argument
326 ParseResponseFinishMessage(nlohmann::json &json) ParseResponseFinishMessage() argument
336 GetAuthReqMessage(nlohmann::json &json) GetAuthReqMessage() argument
369 ParseAuthRequestMessage(nlohmann::json &json) ParseAuthRequestMessage() argument
411 ParseAuthResponseMessage(nlohmann::json &json) ParseAuthResponseMessage() argument
444 ParsePkgNegotiateMessage(const nlohmann::json &json) ParsePkgNegotiateMessage() argument
494 ParseNegotiateMessage(const nlohmann::json &json) ParseNegotiateMessage() argument
531 ParseRespNegotiateMessage(const nlohmann::json &json) ParseRespNegotiateMessage() argument
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h32 #include "nlohmann/json.hpp"
42 * form_json and to_json is global static overload method, which need callback by json library,
45 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData);
46 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData);
47 void to_json(nlohmann::json &jsonObject, const MetaData &metaData);
48 void from_json(const nlohmann::json &jsonObject, MetaData &metaData);
49 void to_json(nlohmann::json &jsonObject, const HnpPackage &hnpPackage);
50 void from_json(const nlohmann::json &jsonObject, HnpPackage &hnpPackage);
51 void to_json(nlohmann::json &jsonObject, const Metadata &metadata);
52 void from_json(const nlohmann::json
[all...]
/applications/standard/app_samples/code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic/entry/src/main/ets/module/
H A DImageData.ets32 vibratorFileL: "CarCrash_l.json",
33 vibratorFileM: "CarCrash_m.json",
34 vibratorFileH: "CarCrash_h.json",
41 vibratorFileL: "CarIgnite_l.json",
42 vibratorFileM: "CarIgnite_m.json",
43 vibratorFileH: "CarIgnite_h.json",
50 vibratorFileL: "CarSkid_l.json",
51 vibratorFileM: "CarSkid_m.json",
52 vibratorFileH: "CarSkid_h.json",
59 vibratorFileL: "DriftingJet_l.json",
[all...]
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Djson_util.h27 #include <core/json/json.h>
33 return CORE_NS::json::unescape(str); in JsonUnescape()
38 const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue()
56 const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue()
70 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
80 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
89 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson()
98 inline bool FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Uid& output) in FromJson()
109 inline bool FromJsonArray(const CORE_NS::json
180 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
189 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
199 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
209 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
220 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
231 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
243 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DreactJsxReactResolvedNodeNext.trace.json2 "File 'tests/cases/compiler/package.json' does not exist.",
3 "File 'tests/cases/package.json' does not exist.",
4 "File 'tests/package.json' does not exist.",
5 "File 'package.json' does not exist.",
6 "File '/package.json' does not exist.",
10 "File 'tests/cases/compiler/package.json' does not exist according to earlier cached lookups.",
11 "File 'tests/cases/package.json' does not exist according to earlier cached lookups.",
12 "File 'tests/package.json' does not exist according to earlier cached lookups.",
13 "File 'package.json' does not exist according to earlier cached lookups.",
14 "File '/package.json' doe
[all...]
H A DreactJsxReactResolvedNodeNextEsm.trace.json2 "Found 'package.json' at 'tests/cases/compiler/package.json'.",
3 "'package.json' does not have a 'typesVersions' field.",
7 "File 'tests/cases/compiler/package.json' exists according to earlier cached lookups.",
9 "Found 'package.json' at 'tests/cases/compiler/node_modules/@types/react/package.json'.",
10 "'package.json' does not have a 'typesVersions' field.",
16 "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.",
21 "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.",
22 "'package.json' doe
[all...]
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
H A Dsoftbus_adapter_json.cpp21 #include "nlohmann/json.hpp"
33 nlohmann::json *json = new (std::nothrow) nlohmann::json(); in JSON_CreateObject() local
34 if (json == nullptr) { in JSON_CreateObject()
40 obj->context = reinterpret_cast<void *>(json); in JSON_CreateObject()
50 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Delete() local
51 if (json ! in JSON_Delete()
73 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_PrintUnformatted() local
100 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_Parse() local
125 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddBoolToObject() local
140 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetBoolFromOject() local
161 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddIntegerToObject() local
177 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetIntegerFromObject() local
239 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddStringToObject() local
254 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetStringFromOject() local
279 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddStringArrayToObject() local
298 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetStringArrayFromOject() local
338 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddBytesToObject() local
353 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetBytesFromObject() local
381 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_IsArrayExist() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/
H A Djson_util.h28 #include <core/json/json.h>
36 return CORE_NS::json::unescape(str); in JsonUnescape()
41 const CORE_NS::json::value& jsonData, const ::string_view element, ::string& error, T& output) in SafeGetJsonValue()
59 const CORE_NS::json::value& jsonData, const ::string_view element, ::string& error, T& output) in SafeGetJsonValue()
73 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
83 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
92 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson()
101 inline bool FromJson(const CORE_NS::json::value& jsonIn, ::Uid& output) in FromJson()
112 inline bool FromJsonArray(const CORE_NS::json
183 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
191 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
200 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
209 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
219 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
229 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
240 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
[all...]

Completed in 24 milliseconds

12345678910>>...581