Skip to content

Commit a0908e8

Browse files
add missing open-source-parsers/jsoncpp to traits list
1 parent 61d3faf commit a0908e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/install.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ There's a number of options to choice from.
44

55
## Overview
66

7-
It's strongly recommended to use a package manager, as JWT-CPP has dependencies for both
8-
cryptography and JSON libraries, having a tool to do the heavily lifting can be ideal.
9-
Examples of a C and C++ package manager are [Conan](https://conan.io/) and [vcpkg](https://vcpkg.io/). If the version is out of date please check with their respective communities before opening and issue here.
7+
It's strongly recommended to use a package manager, as JWT-CPP has dependencies for both cryptography and JSON libraries, having a tool to do the heavily lifting can be ideal. Examples of a C and C++ package manager are [Conan](https://conan.io/) and [vcpkg](https://vcpkg.io/). If the version is out of date please check with their respective communities before opening and issue here.
108

119
When manually adding this dependency, and the dependencies this has, check the GitHub Actions and Workflows for some inspiration about how to go about it.
1210

docs/traits.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ For your convenience there are serval traits implementation which provide some p
1010
[![nlohmann][nlohmann]](https://github.com/nlohmann/json)
1111
[![jsoncons][jsoncons]](https://github.com/danielaparker/jsoncons)
1212
[![boostjson][boostjson]](https://github.com/boostorg/json)
13+
[![jsoncpp][jsoncpp]](https://github.com/open-source-parsers/jsoncpp)
1314

1415
[picojson]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Thalhammer/jwt-cpp/badges/traits/kazuho-picojson/shields.json
1516
[nlohmann]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Thalhammer/jwt-cpp/badges/traits/nlohmann-json/shields.json
1617
[jsoncons]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Thalhammer/jwt-cpp/badges/traits/danielaparker-jsoncons/shields.json
1718
[boostjson]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Thalhammer/jwt-cpp/badges/traits/boost-json/shields.json
19+
[jsoncpp]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Thalhammer/jwt-cpp/badges/traits/open-source-parsers-jsoncpp/shields.json
1820

1921
In order to maintain compatibility, [picojson](https://github.com/kazuho/picojson) is still used to provide a specialized `jwt::claim` along with all helpers. Defining `JWT_DISABLE_PICOJSON` will remove this optional dependency. It's possible to directly include the traits defaults for the other JSON libraries. See the [traits examples](https://github.com/Thalhammer/jwt-cpp/tree/master/example/traits) for details.
2022

0 commit comments

Comments
 (0)