commit
062fd3842c
3 changed files with 28 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -18,6 +18,9 @@ me.nlohmann.json.docset
|
||||||
|
|
||||||
benchmarks/files/numbers/*.json
|
benchmarks/files/numbers/*.json
|
||||||
|
|
||||||
|
.wsjcpp-logs/*
|
||||||
|
.wsjcpp/*
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
cmake-build-debug
|
cmake-build-debug
|
||||||
|
|
||||||
|
|
|
@ -196,6 +196,8 @@ If you are using [MSYS2](http://www.msys2.org/), your can use the [mingw-w64-nlo
|
||||||
If you are using [`build2`](https://build2.org), you can use the [`nlohmann-json`](https://cppget.org/nlohmann-json) package from the public repository http://cppget.org or directly from the [package's sources repository](https://github.com/build2-packaging/nlohmann-json). In your project's `manifest` file, just add `depends: nlohmann-json` (probably with some [version constraints](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-add-remove-deps)). If you are not familiar with using dependencies in `build2`, [please read this introduction](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml).
|
If you are using [`build2`](https://build2.org), you can use the [`nlohmann-json`](https://cppget.org/nlohmann-json) package from the public repository http://cppget.org or directly from the [package's sources repository](https://github.com/build2-packaging/nlohmann-json). In your project's `manifest` file, just add `depends: nlohmann-json` (probably with some [version constraints](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-add-remove-deps)). If you are not familiar with using dependencies in `build2`, [please read this introduction](https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml).
|
||||||
Please file issues [here](https://github.com/build2-packaging/nlohmann-json) if you experience problems with the packages.
|
Please file issues [here](https://github.com/build2-packaging/nlohmann-json) if you experience problems with the packages.
|
||||||
|
|
||||||
|
If you are using [`wsjcpp`](http://wsjcpp.org), you can use the command `wsjcpp install "https://github.com/nlohmann/json:develop"` to get the latest version. Note you can change the branch ":develop" to an existing tag or another branch.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
Beside the examples below, you may want to check the [documentation](https://nlohmann.github.io/json/) where each function contains a separate code example (e.g., check out [`emplace()`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a5338e282d1d02bed389d852dd670d98d.html#a5338e282d1d02bed389d852dd670d98d)). All [example files](https://github.com/nlohmann/json/tree/develop/doc/examples) can be compiled and executed on their own (e.g., file [emplace.cpp](https://github.com/nlohmann/json/blob/develop/doc/examples/emplace.cpp)).
|
Beside the examples below, you may want to check the [documentation](https://nlohmann.github.io/json/) where each function contains a separate code example (e.g., check out [`emplace()`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a5338e282d1d02bed389d852dd670d98d.html#a5338e282d1d02bed389d852dd670d98d)). All [example files](https://github.com/nlohmann/json/tree/develop/doc/examples) can be compiled and executed on their own (e.g., file [emplace.cpp](https://github.com/nlohmann/json/blob/develop/doc/examples/emplace.cpp)).
|
||||||
|
|
23
wsjcpp.yml
Normal file
23
wsjcpp.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
wsjcpp_version: "v0.1.1"
|
||||||
|
cmake_minimum_required: "3.0"
|
||||||
|
cmake_cxx_standard: "11"
|
||||||
|
name: "nlohmann/json"
|
||||||
|
version: "v3.7.3"
|
||||||
|
description: "JSON for Modern C++"
|
||||||
|
issues: "https://github.com/nlohmann/json/issues"
|
||||||
|
keywords:
|
||||||
|
- "c++"
|
||||||
|
- "json"
|
||||||
|
|
||||||
|
repositories:
|
||||||
|
- type: main
|
||||||
|
url: "https://github.com/nlohmann/json"
|
||||||
|
|
||||||
|
authors:
|
||||||
|
- name: "Niels Lohmann"
|
||||||
|
email: "mail@nlohmann.me"
|
||||||
|
|
||||||
|
distribution:
|
||||||
|
- source-file: "single_include/nlohmann/json.hpp"
|
||||||
|
target-file: "json.hpp"
|
||||||
|
type: "source-code"
|
Loading…
Reference in a new issue