/third_party/json/ |
D | ChangeLog.md | 4 ## [v3.10.0](https://github.com/nlohmann/json/releases/tag/v3.10.0) (2021-08-17) 6 [Full Changelog](https://github.com/nlohmann/json/compare/v3.9.1...v3.10.0) 8 …JSON\_THROW in the amalgamated json.hpp file [\#2934](https://github.com/nlohmann/json/issues/2934) 9 - Copy to a variable inside a Structure [\#2933](https://github.com/nlohmann/json/issues/2933) 10 - warning C4068: unknown pragma 'GCC' on MSVC/cl [\#2924](https://github.com/nlohmann/json/issues/2… 11 - Errors during ninja test [\#2918](https://github.com/nlohmann/json/issues/2918) 12 - compiler warning: "not return a value" [\#2917](https://github.com/nlohmann/json/issues/2917) 13 - Comparison floating points causes warning [\#2909](https://github.com/nlohmann/json/issues/2909) 14 - Why can't I have std::vector\<json&\> testList? [\#2900](https://github.com/nlohmann/json/issues/… 15 - \[json.hpp\] from releases doesnt work [\#2897](https://github.com/nlohmann/json/issues/2897) [all …]
|
D | nlohmann_json.natvis | 3 <Type Name="nlohmann::basic_json<*>"> 4 <DisplayString Condition="m_type == nlohmann::detail::value_t::null">null</DisplayString> 5 …<DisplayString Condition="m_type == nlohmann::detail::value_t::object">{*(m_value.object)}</Displa… 6 …<DisplayString Condition="m_type == nlohmann::detail::value_t::array">{*(m_value.array)}</DisplayS… 7 …<DisplayString Condition="m_type == nlohmann::detail::value_t::string">{*(m_value.string)}</Displa… 8 …<DisplayString Condition="m_type == nlohmann::detail::value_t::boolean">{m_value.boolean}</Display… 9 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_integer">{m_value.number_int… 10 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_unsigned">{m_value.number_un… 11 …<DisplayString Condition="m_type == nlohmann::detail::value_t::number_float">{m_value.number_float… 12 …<DisplayString Condition="m_type == nlohmann::detail::value_t::discarded">discarded</DisplayString> [all …]
|
D | README.md | 1 …odern C++](https://raw.githubusercontent.com/nlohmann/json/master/doc/json.gif)](https://github.co… 3 …![Build Status](https://app.travis-ci.com/nlohmann/json.svg?branch=develop)](https://app.travis-ci… 4 …ts/status/1acb366xfyg3qybk/branch/develop?svg=true)](https://ci.appveyor.com/project/nlohmann/json) 5 [![Ubuntu](https://github.com/nlohmann/json/workflows/Ubuntu/badge.svg)](https://github.com/nlohman… 6 [![macOS](https://github.com/nlohmann/json/workflows/macOS/badge.svg)](https://github.com/nlohmann/… 7 [![Windows](https://github.com/nlohmann/json/workflows/Windows/badge.svg)](https://github.com/nlohm… 8 …us](https://coveralls.io/repos/github/nlohmann/json/badge.svg?branch=develop)](https://coveralls.i… 9 …tps://scan.coverity.com/projects/5550/badge.svg)](https://scan.coverity.com/projects/nlohmann-json) 10 …)](https://www.codacy.com/gh/nlohmann/json/dashboard?utm_source=github.com&utm_medium=referral… 11 …ps://img.shields.io/lgtm/grade/cpp/g/nlohmann/json.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/p… [all …]
|
D | wsjcpp.yml | 4 name: "nlohmann/json" 7 issues: "https://github.com/nlohmann/json/issues" 14 url: "https://github.com/nlohmann/json" 18 email: "mail@nlohmann.me" 21 - source-file: "single_include/nlohmann/json.hpp"
|
D | CITATION.cff | 7 email: mail@nlohmann.me 8 website: https://nlohmann.me 13 repository-code: "https://github.com/nlohmann" 14 url: https://json.nlohmann.me
|
/third_party/json/doc/ |
D | index.md | 8 - @link nlohmann::basic_json `basic_json`@endlink -- class template for JSON values 9 …- @link nlohmann::json `json`@endlink -- the default specialization of `basic_json`, defined as `b… 12 - @link nlohmann::basic_json::dump dump @endlink -- value serialization 13 - @link nlohmann::basic_json::type type @endlink -- type of the value 14 - @link nlohmann::basic_json::is_primitive is_primitive @endlink, 15 @link nlohmann::basic_json::is_structured is_structured @endlink, 16 @link nlohmann::basic_json::is_null is_null @endlink, 17 @link nlohmann::basic_json::is_boolean is_boolean @endlink, 18 @link nlohmann::basic_json::is_number is_number @endlink, 19 @link nlohmann::basic_json::is_number_integer is_number_integer @endlink, [all …]
|
/third_party/json/.github/ |
D | CONTRIBUTING.md | 1 …nlohmann/json/badge/pr?style=flat)](http://issuestats.com/github/nlohmann/json) [![Issue Stats](ht… 5 …, or even fixing my mistakes. I am really [thankful](https://github.com/nlohmann/json/blob/master/… 7 …s subject to discussion, so please [create an issue](https://github.com/nlohmann/json/issues/new/c… 11 …nlohmann/json/issues). If you want to make a private report (e.g., for a vulnerability or to attac… 15 Please [create an issue](https://github.com/nlohmann/json/issues/new/choose), assuming one does not… 25 …nlohmann/json/blob/develop/.github/ISSUE_TEMPLATE/Bug_report.md), [feature request](https://github… 29 …nlohmann/json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp… 33 …nlohmann/*`](https://github.com/nlohmann/json/tree/develop/include/nlohmann) - These files are the… 35 …nlohmann/json/tree/develop/test/src) - These files contain the [doctest](https://github.com/onqtam… 47 …uted with several different compilers on [Travis](https://travis-ci.org/nlohmann/json) once you op… [all …]
|
D | PULL_REQUEST_TEMPLATE.md | 7 Read the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTI… 9 …in the pull request, or an [existing issue is referenced](https://github.com/nlohmann/json/issues). 10 - [ ] The test suite [compiles and runs](https://github.com/nlohmann/json/blob/develop/README.md#e… 11 …ps://coveralls.io/github/nlohmann/json) is 100%. Test cases can be added by editing the [test suit… 12 …nlohmann` directory, run `make amalgamate` to create the single-header file `single_include/nlohma… 16 …sions. Please note the [list of supported compilers](https://github.com/nlohmann/json/blob/master/… 17 …soft Visual Studio** (there even is an [issue label](https://github.com/nlohmann/json/issues?utf8=…
|
/third_party/json/doc/mkdocs/docs/home/ |
D | releases.md | 7 - [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip) (274 KB) 8 …- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip.asc) (1 … 9 - [json.hpp](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp) (791 KB) 10 - [json.hpp.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp.asc) (1 KB) 27 …nlohmann.github.io/json/doxygen/classnlohmann_1_1basic__json_af1592a06bc63811886ade4f9d965045e.htm… 28 …nlohmann.github.io/json/doxygen/classnlohmann_1_1basic__json_ab7285a92514fcdbe6de505ebaba92ea3.htm… 35 - [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.2/include.zip) (274 KB) 36 …- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.2/include.zip.asc) (1 … 37 - [json.hpp](https://github.com/nlohmann/json/releases/download/v3.7.2/json.hpp) (791 KB) 38 - [json.hpp.asc](https://github.com/nlohmann/json/releases/download/v3.7.2/json.hpp.asc) (1 KB) [all …]
|
/third_party/json/doc/mkdocs/docs/integration/ |
D | package_managers.md | 14 brew install nlohmann-json 20 brew install nlohmann-json --HEAD 23 instead. See [nlohmann-json](https://formulae.brew.sh/formula/nlohmann-json) for more information. 38 brew install nlohmann-json 41 …3. Determine the include path, which defaults to `/usr/local/Cellar/nlohmann-json/$version/include… 44 brew list nlohmann-json 50 clang++ example.cpp -I/usr/local/Cellar/nlohmann-json/3.7.3/include -std=c++11 -o example 55 …`include.zip` published in this project's [Releases](https://github.com/nlohmann/json/releases) to… 98 …dependencies, you can use the [`nlohmann-json` package](https://spack.readthedocs.io/en/latest/pac… 106 …buckaroo add github.com/buckaroo-pm/nlohmann-json`. Please file issues [here](https://github.com/b… [all …]
|
D | index.md | 3 …nlohmann/json/blob/develop/single_include/nlohmann/json.hpp) is the single required file in `singl… 6 #include <nlohmann/json.hpp> 9 using json = nlohmann::json; 14 …u can further use file [`include/nlohmann/json_fwd.hpp`](https://github.com/nlohmann/json/blob/dev…
|
/third_party/json/include/nlohmann/ |
D | adl_serializer.hpp | 6 #include <nlohmann/detail/conversions/from_json.hpp> 7 #include <nlohmann/detail/conversions/to_json.hpp> 8 #include <nlohmann/detail/meta/identity_tag.hpp> 9 #include <nlohmann/detail/meta/type_traits.hpp> 11 namespace nlohmann namespace 30 noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), val))) in from_json() 31 -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void()) in from_json() 33 ::nlohmann::from_json(std::forward<BasicJsonType>(j), val); in from_json() 50 …noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), detail::identity_tag<TargetType> {}… in from_json() 51 …-> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), detail::identity_tag<TargetType>… [all …]
|
/third_party/json/test/src/ |
D | unit-udt_macro.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 34 #include <nlohmann/json.hpp> 35 using nlohmann::json; 268 nlohmann::json j = obj1; //via json object 277 nlohmann::json j1 = obj1; //via json string 279 nlohmann::json j2 = nlohmann::json::parse(s); 288 nlohmann::json j1 = obj1; //via msgpack 289 std::vector<uint8_t> buf = nlohmann::json::to_msgpack(j1); 290 nlohmann::json j2 = nlohmann::json::from_msgpack(buf); [all …]
|
D | unit-byte_container_with_subtype.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 32 #include <nlohmann/json.hpp> 33 using nlohmann::json; 37 …using subtype_type = nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>>::subtype_typ… 41 nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>> container; 57 nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>> container({}, 42); 69 nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>> container1; 70 nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>> container2({}, 42); 71 nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>> container3(bytes); [all …]
|
D | unit-noexcept.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 36 #include <nlohmann/json.hpp> 38 using nlohmann::json; 61 static_assert(noexcept(nlohmann::to_json(*j, 2)), ""); 62 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), ""); 63 static_assert(noexcept(nlohmann::to_json(*j, true)), ""); 64 static_assert(noexcept(nlohmann::to_json(*j, test{})), ""); 65 static_assert(noexcept(nlohmann::to_json(*j, pod{})), ""); 66 static_assert(!noexcept(nlohmann::to_json(*j, pod_bis{})), ""); [all …]
|
D | unit-regression2.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 36 #include <nlohmann/json.hpp> 37 using json = nlohmann::json; 38 using ordered_json = nlohmann::ordered_json; 65 using float_json = nlohmann::basic_json<std::map, std::vector, std::string, bool, std::int64_t, std… 119 namespace nlohmann namespace 129 } // namespace nlohmann 152 namespace nlohmann namespace 162 } // namespace nlohmann [all …]
|
D | unit-udt.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 36 #include <nlohmann/json.hpp> 37 using nlohmann::json; 139 static void to_json(nlohmann::json& j, const address& a) in to_json() 144 static void to_json(nlohmann::json& j, const contact& c) in to_json() 149 static void to_json(nlohmann::json& j, const contact_book& cb) in to_json() 215 // TODO(nlohmann) test exceptions in from_json() 227 static void from_json(const nlohmann::json& j, address& a) in from_json() 232 static void from_json(const nlohmann::json& j, contact& c) in from_json() [all …]
|
D | unit-disabled_exceptions.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 36 #include <nlohmann/json.hpp> 37 using json = nlohmann::json; 43 class sax_no_exception : public nlohmann::detail::json_sax_dom_parser<json> 46 explicit sax_no_exception(json& j) : nlohmann::detail::json_sax_dom_parser<json>(j, false) {} in sax_no_exception()
|
D | unit-large_json.cpp | 5 |_____|_____|_____|_|___| https://github.com/nlohmann/json 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 32 #include <nlohmann/json.hpp> 33 using nlohmann::json; 47 CHECK_NOTHROW(_ = nlohmann::json::parse(s));
|
/third_party/json/doc/mkdocs/docs/features/ |
D | object_order.md | 5 The default type `nlohmann::json` uses a `std::map` to store JSON objects, and thus stores object k… 13 using json = nlohmann::json; 36 …e the **insertion order**, you can try the type [`nlohmann::ordered_json`](https://github.com/nloh… 42 #include <nlohmann/json.hpp> 44 using ordered_json = nlohmann::ordered_json; 67 …nlohmann/json/issues/546#issuecomment-304447518)) or [`nlohmann::fifo_map`](https://github.com/nlo…
|
D | arbitrary_types.md | 57 using json = nlohmann::json; 78 …here you use these conversions. Look at [issue 1108](https://github.com/nlohmann/json/issues/1108)… 80 * In function `from_json`, use function [`at()`](https://nlohmann.github.io/json/classnlohmann_1_1b… 130 The default serializer for `nlohmann::json` is `nlohmann::adl_serializer` (ADL means [Argument-Depe… 149 To solve this, you need to add a specialization of `adl_serializer` to the `nlohmann` namespace, he… 153 namespace nlohmann { 191 namespace nlohmann { 212 Yes. You might want to take a look at [`unit-udt.cpp`](https://github.com/nlohmann/json/blob/develo… 216 - use a different `basic_json` alias than `nlohmann::json` (the last template parameter of `basic_j… 218 - use `nlohmann::to_json` and `nlohmann::from_json` when you need ADL [all …]
|
/third_party/json/include/nlohmann/detail/iterators/ |
D | iteration_proxy.hpp | 9 #include <nlohmann/detail/meta/type_traits.hpp> 10 #include <nlohmann/detail/value_t.hpp> 12 namespace nlohmann namespace 146 // And see https://github.com/nlohmann/json/pull/1391 148 auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.key()) in get() 154 // And see https://github.com/nlohmann/json/pull/1391 156 auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.value()) in get() 161 } // namespace nlohmann 166 // And see https://github.com/nlohmann/json/pull/1391 170 // Fix: https://github.com/nlohmann/json/issues/1401 [all …]
|
D | iterator_traits.hpp | 5 #include <nlohmann/detail/meta/void_t.hpp> 6 #include <nlohmann/detail/meta/cpp_future.hpp> 8 namespace nlohmann namespace 29 // doesn't work with SFINAE. See https://github.com/nlohmann/json/issues/1341. 51 } // namespace nlohmann
|
D | internal_iterator.hpp | 3 #include <nlohmann/detail/iterators/primitive_iterator.hpp> 5 namespace nlohmann namespace 13 unions members with complex constructors, see https://github.com/nlohmann/json/pull/105. 25 } // namespace nlohmann
|
/third_party/json/third_party/gdb_pretty_printer/ |
D | README.md | 3 …nlohmann-json.py](nlohmann-json.py) contains a pretty printer for GDB for JSON values of this libr… 10 source /path/to/nlohmann-json.py 13 …to `~/.gdbinit`. Note you must replace `/path/to` with whatever path you stored file `nlohmann-jso… 49 ["empty"] = nlohmann::detail::value_t::null 53 Tested with GDB 9.2. See [#1952](https://github.com/nlohmann/json/issues/1952) for more information…
|