1. Home
  2. Browse
  3. nlohmann-json

nlohmann-json

v3.11.3#1Latest

JSON for Modern C++

Install

Run the following Vcpkg command to install the port.

vcpkg install nlohmann-json

Usage

The package nlohmann-json provides CMake targets:

find_package(nlohmann_json CONFIG REQUIRED)
target_link_libraries(main PRIVATE nlohmann_json::nlohmann_json)

The package nlohmann-json can be configured to not provide implicit conversions via a custom triplet file:

set(nlohmann-json_IMPLICIT_CONVERSIONS OFF)

For more information, see the docs here:


https://json.nlohmann.me/api/macros/json_use_implicit_conversions/

Features

Dependencies

See source

Version

v3.11.3#1

Publication

Supports

All

GitHub

nlohmann/json

Homepage

github.com/nlohmann/json

Subtree

6db51d86a9

License

MIT

Definition

Manifest