namespace for Niels Lohmann
More...
|
namespace | detail |
| detail namespace with internal helper functions
|
|
|
| NLOHMANN_CAN_CALL_STD_FUNC_IMPL (begin) |
|
| NLOHMANN_CAN_CALL_STD_FUNC_IMPL (end) |
|
NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string | to_string (const NLOHMANN_BASIC_JSON_TPL &j) |
| user-defined to_string function for JSON values
|
|
namespace for Niels Lohmann
- See also
- https://github.com/nlohmann
- Since
- version 1.0.0
◆ json
default JSON class
This type is the default specialization of the basic_json class which uses the standard template types.
- Since
- version 1.0.0
◆ ordered_json
ordered JSON class
This type preserves the insertion order of object keys.
- Since
- version 3.9.0
◆ to_string()
NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string nlohmann::to_string |
( |
const NLOHMANN_BASIC_JSON_TPL & |
j | ) |
|
user-defined to_string function for JSON values
This function implements a user-defined to_string for JSON objects.
- Parameters
-
- Returns
- a std::string object