[docs] Consuming JSONCpp via Conan package manager (#1622)
* Fix Conan badge URL
Signed-off-by: Uilian Ries <[email protected]>
* Add Conan instructions in README
Signed-off-by: Uilian Ries <[email protected]>
* Add build missing
Signed-off-by: Uilian Ries <[email protected]>
---------
Signed-off-by: Uilian Ries <[email protected]>
Co-authored-by: Jordan Bayles <[email protected]>
diff --git a/README.md b/README.md
index 5bff8dc..c8b42a9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# JsonCpp
-[](https://bintray.com/theirix/conan-repo/jsoncpp%3Atheirix)
+[](https://conan.io/center/recipes/jsoncpp)
[](https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE)
[](http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html)
[](https://coveralls.io/github/open-source-parsers/jsoncpp?branch=master)
@@ -52,6 +52,14 @@
The JsonCpp port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
+### Conan package manager
+
+You can download and install JsonCpp using the [Conan](https://conan.io/) package manager:
+
+ conan install -r conancenter --requires="jsoncpp/[*]" --build=missing
+
+The JsonCpp package in Conan Center is kept up to date by [ConanCenterIndex](https://github.com/conan-io/conan-center-index) contributors. If the version is out of date, please create an issue or pull request on the Conan Center Index repository.
+
### Amalgamated source
https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated)