Ark Server API 3.54
Serverside plugin support for Ark Survival Evolved.
Loading...
Searching...
No Matches
nlohmann Namespace Reference

namespace for Niels Lohmann More...

Namespaces

namespace  detail
 detail namespace with internal helper functions
 

Classes

struct  adl_serializer
 default JSONSerializer template argument More...
 
class  basic_json
 a class to store JSON values More...
 
class  byte_container_with_subtype
 an internal type for a backed binary type More...
 
class  json_pointer
 JSON Pointer. More...
 
struct  json_sax
 SAX interface. More...
 
struct  ordered_map
 

Typedefs

using json = basic_json<>
 default JSON class
 
using ordered_json = basic_json< nlohmann::ordered_map >
 ordered JSON class
 

Functions

NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string to_string (const NLOHMANN_BASIC_JSON_TPL &j)
 user-defined to_string function for JSON values
 

Detailed Description

namespace for Niels Lohmann

See also
https://github.com/nlohmann
Since
version 1.0.0

namespace to hold default to_json function to see why this is required: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html

Typedef Documentation

◆ json

using nlohmann::json = typedef basic_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

Definition at line 3409 of file json.hpp.

◆ ordered_json

ordered JSON class

This type preserves the insertion order of object keys.

Since
version 3.9.0

Definition at line 3421 of file json.hpp.

Function Documentation

◆ 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
[in]ja JSON object
Returns
a std::string object

Definition at line 26357 of file json.hpp.

Referenced by nlohmann::detail::int_to_string().