Project

General

Profile

Template
literals::json_literals Namespace Reference

Functions

nlohmann::json operator""_json (const char *s, std::size_t n)
 user-defined string literal for JSON values
 
nlohmann::json::json_pointer operator""_json_pointer (const char *s, std::size_t n)
 user-defined string literal for JSON pointer
 

Function Documentation

◆ operator""_json()

nlohmann::json literals::json_literals::operator""_json ( const char *  s,
std::size_t  n 
)
inline

user-defined string literal for JSON values

See also
https://json.nlohmann.me/api/basic_json/operator_literal_json/

Definition at line 24392 of file json.hpp.

◆ operator""_json_pointer()

nlohmann::json::json_pointer literals::json_literals::operator""_json_pointer ( const char *  s,
std::size_t  n 
)
inline

user-defined string literal for JSON pointer

See also
https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/

Definition at line 24400 of file json.hpp.