Conscience Core
Public Types | Static Public Member Functions | List of all members
jwt::traits::boost_json Struct Reference

#include <traits.h>

Public Types

using value_type = json::value
 
using object_type = json::object
 
using array_type = 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 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 integer_type as_int (const value_type &val)
 
static boolean_type as_bool (const value_type &val)
 
static number_type as_number (const value_type &val)
 
static bool parse (value_type &val, string_type str)
 
static std::string serialize (const value_type &val)
 

Member Typedef Documentation

◆ array_type

◆ boolean_type

◆ integer_type

◆ number_type

◆ object_type

◆ string_type

◆ value_type

Member Function Documentation

◆ as_array()

static array_type jwt::traits::boost_json::as_array ( const value_type val)
inlinestatic

◆ as_bool()

static boolean_type jwt::traits::boost_json::as_bool ( const value_type val)
inlinestatic

◆ as_int()

static integer_type jwt::traits::boost_json::as_int ( const value_type val)
inlinestatic

◆ as_number()

static number_type jwt::traits::boost_json::as_number ( const value_type val)
inlinestatic

◆ as_object()

static object_type jwt::traits::boost_json::as_object ( const value_type val)
inlinestatic

◆ as_string()

static string_type jwt::traits::boost_json::as_string ( const value_type val)
inlinestatic

◆ get_type()

static jwt::json::type jwt::traits::boost_json::get_type ( const value_type val)
inlinestatic

◆ parse()

static bool jwt::traits::boost_json::parse ( value_type val,
string_type  str 
)
inlinestatic

◆ serialize()

static std::string jwt::traits::boost_json::serialize ( const value_type val)
inlinestatic

The documentation for this struct was generated from the following file: