ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
boost_json Struct Reference

jwt-cpp traits for boost::json. More...

#include <boost_json_traits.hpp>

Collaboration diagram for boost_json:
Collaboration graph

Public Types

using value_type = boost::json::value
 
using object_type = boost::json::object
 
using array_type = boost::json::array
 
using string_type = std::string
 
using number_type = double
 
using integer_type = std::int64_t
 
using boolean_type = bool
 

Static Public Member Functions

static jwt::json::type get_type (const value_type &val)
 
static bool parse (value_type &val, const string_type &str)
 
static std::string serialize (const value_type &val)
 
static object_type as_object (const value_type &val)
 
static array_type as_array (const value_type &val)
 
static string_type as_string (const value_type &val)
 
static number_type as_number (const value_type &val)
 
static integer_type as_integer (const value_type &val)
 
static boolean_type as_boolean (const value_type &val)
 

Detailed Description

jwt-cpp traits for boost::json.

Provides the type mappings and operations required by jwt-cpp to use boost::json as its JSON backend.