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

#include <traits.h>

Classes

struct  object_type
 

Public Types

using json = jsoncons::json
 
using value_type = json
 
using array_type = json::array
 
using string_type = std::string
 
using number_type = double
 
using integer_type = int64_t
 
using boolean_type = bool
 

Static Public Member Functions

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

Member Typedef Documentation

◆ array_type

◆ boolean_type

◆ integer_type

◆ json

◆ number_type

◆ string_type

◆ value_type

Member Function Documentation

◆ as_array()

static array_type jwt::traits::danielaparker_jsoncons::as_array ( const json val)
inlinestatic

◆ as_bool()

static boolean_type jwt::traits::danielaparker_jsoncons::as_bool ( const json val)
inlinestatic

◆ as_int()

static integer_type jwt::traits::danielaparker_jsoncons::as_int ( const json val)
inlinestatic

◆ as_number()

static number_type jwt::traits::danielaparker_jsoncons::as_number ( const json val)
inlinestatic

◆ as_object()

static object_type jwt::traits::danielaparker_jsoncons::as_object ( const json val)
inlinestatic

◆ as_string()

static string_type jwt::traits::danielaparker_jsoncons::as_string ( const json val)
inlinestatic

◆ get_type()

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

◆ parse()

static bool jwt::traits::danielaparker_jsoncons::parse ( json val,
const std::string &  str 
)
inlinestatic

◆ serialize()

static std::string jwt::traits::danielaparker_jsoncons::serialize ( const json val)
inlinestatic

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