Lines Matching defs:result
248 basic_json result;
250 result["copyright"] = "(C) 2013-2022 Niels Lohmann";
251 result["name"] = "JSON for Modern C++";
252 result["url"] = "https://github.com/nlohmann/json";
253 result["version"]["string"] =
257 result["version"]["major"] = NLOHMANN_JSON_VERSION_MAJOR;
258 result["version"]["minor"] = NLOHMANN_JSON_VERSION_MINOR;
259 result["version"]["patch"] = NLOHMANN_JSON_VERSION_PATCH;
262 result["platform"] = "win32";
264 result["platform"] = "linux";
266 result["platform"] = "apple";
268 result["platform"] = "unix";
270 result["platform"] = "unknown";
274 result["compiler"] = {{"family", "icc"}, {"version", __INTEL_COMPILER}};
276 result["compiler"] = {{"family", "clang"}, {"version", __clang_version__}};
278 result["compiler"] = {{"family", "gcc"}, {"version", detail::concat(
285 result["compiler"] = "hp"
287 result["compiler"] = {{"family", "ilecpp"}, {"version", __IBMCPP__}};
289 result["compiler"] = {{"family", "msvc"}, {"version", _MSC_VER}};
291 result["compiler"] = {{"family", "pgcpp"}, {"version", __PGI}};
293 result["compiler"] = {{"family", "sunpro"}, {"version", __SUNPRO_CC}};
295 result["compiler"] = {{"family", "unknown"}, {"version", "unknown"}};
300 result["compiler"]["c++"] = std::to_string(_MSVC_LANG);
302 result["compiler"]["c++"] = std::to_string(__cplusplus);
304 result["compiler"]["c++"] = "unknown";
306 return result;
1264 string_t result;
1265 serializer s(detail::output_adapter<char, string_t>(result), indent_char, error_handler);
1276 return result;
2120 auto result = m_value.object->emplace(std::move(key), nullptr);
2121 return set_parent(result.first->second);
2173 auto result = m_value.object->emplace(std::forward<KeyType>(key), nullptr);
2174 return set_parent(result.first->second);
2425 IteratorType result = end();
2463 result.m_it.object_iterator = m_value.object->erase(pos.m_it.object_iterator);
2469 result.m_it.array_iterator = m_value.array->erase(pos.m_it.array_iterator);
2479 return result;
2495 IteratorType result = end();
2534 result.m_it.object_iterator = m_value.object->erase(first.m_it.object_iterator,
2541 result.m_it.array_iterator = m_value.array->erase(first.m_it.array_iterator,
2552 return result;
2642 auto result = end();
2646 result.m_it.object_iterator = m_value.object->find(key);
2649 return result;
2656 auto result = cend();
2660 result.m_it.object_iterator = m_value.object->find(key);
2663 return result;
2672 auto result = end();
2676 result.m_it.object_iterator = m_value.object->find(std::forward<KeyType>(key));
2679 return result;
2688 auto result = cend();
2692 result.m_it.object_iterator = m_value.object->find(std::forward<KeyType>(key));
2695 return result;
2760 iterator result(this);
2761 result.set_begin();
2762 return result;
2776 const_iterator result(this);
2777 result.set_begin();
2778 return result;
2785 iterator result(this);
2786 result.set_end();
2787 return result;
2801 const_iterator result(this);
2802 result.set_end();
2803 return result;
3246 // create result iterator and set iterator to the result of emplace
3260 iterator result(this);
3265 result.m_it.array_iterator = m_value.array->begin() + insert_pos;
3268 // result.m_it.array_iterator = m_value.array->insert(pos.m_it.array_iterator, cnt, val);
3272 return result;
4013 basic_json result;
4014 parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions, ignore_comments).parse(true, result);
4015 return result;
4028 basic_json result;
4029 parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result);
4030 return result;
4040 basic_json result;
4041 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
4042 return result;
4206 std::vector<std::uint8_t> result;
4207 to_cbor(j, result);
4208 return result;
4229 std::vector<std::uint8_t> result;
4230 to_msgpack(j, result);
4231 return result;
4254 std::vector<std::uint8_t> result;
4255 to_ubjson(j, result, use_size, use_type);
4256 return result;
4281 std::vector<std::uint8_t> result;
4282 to_bjdata(j, result, use_size, use_type);
4283 return result;
4306 std::vector<std::uint8_t> result;
4307 to_bson(j, result);
4308 return result;
4334 basic_json result;
4335 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4338 return res ? result : basic_json(value_t::discarded);
4350 basic_json result;
4351 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4354 return res ? result : basic_json(value_t::discarded);
4376 basic_json result;
4377 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4381 return res ? result : basic_json(value_t::discarded);
4392 basic_json result;
4393 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4396 return res ? result : basic_json(value_t::discarded);
4407 basic_json result;
4408 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4411 return res ? result : basic_json(value_t::discarded);
4430 basic_json result;
4431 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4435 return res ? result : basic_json(value_t::discarded);
4446 basic_json result;
4447 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4450 return res ? result : basic_json(value_t::discarded);
4461 basic_json result;
4462 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4465 return res ? result : basic_json(value_t::discarded);
4484 basic_json result;
4485 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4489 return res ? result : basic_json(value_t::discarded);
4501 basic_json result;
4502 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4505 return res ? result : basic_json(value_t::discarded);
4516 basic_json result;
4517 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4520 return res ? result : basic_json(value_t::discarded);
4531 basic_json result;
4532 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4535 return res ? result : basic_json(value_t::discarded);
4546 basic_json result;
4547 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4550 return res ? result : basic_json(value_t::discarded);
4569 basic_json result;
4570 detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
4574 return res ? result : basic_json(value_t::discarded);
4645 basic_json result(value_t::object);
4646 json_pointer::flatten("", *this, result);
4647 return result;
4670 basic_json& result = *this;
4705 const auto operation_add = [&result](json_pointer & ptr, basic_json val)
4710 result = val;
4718 result.at(top_pointer);
4725 basic_json& parent = result.at(ptr);
4773 const auto operation_remove = [this, &result](json_pointer & ptr)
4778 basic_json& parent = result.at(ptr);
4828 // check if result is of type string
4867 result.at(ptr) = get_value("replace", "value", false);
4877 basic_json v = result.at(from_ptr);
4894 basic_json v = result.at(from_ptr);
4910 success = (result.at(ptr) == get_value("test", "value", false));
4941 basic_json result = *this;
4942 result.patch_inplace(json_patch);
4943 return result;
4953 basic_json result(value_t::array);
4958 return result;
4964 result.push_back(
4968 return result;
4981 result.insert(result.end(), temp_diff.begin(), temp_diff.end());
4989 const auto end_index = static_cast<difference_type>(result.size());
4994 result.insert(result.begin() + end_index, object(
5005 result.push_back(
5029 result.insert(result.end(), temp_diff.begin(), temp_diff.end());
5034 result.push_back(object(
5048 result.push_back(
5070 result.push_back(
5078 return result;