JWT-CPP v0.7.0
A header only library for creating and validating JSON Web Tokens (JWT) in C++
Loading...
Searching...
No Matches
jwt::traits::boost_json Struct Reference

basic_claim's JSON trait implementation for Boost.JSON More...

#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_integer (const value_type &val)
 
static boolean_type as_boolean (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)
 

Detailed Description

basic_claim's JSON trait implementation for Boost.JSON


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