jwt-cpp traits for boost::json.
More...
#include <boost_json_traits.hpp>
|
|
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 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) |
| |
jwt-cpp traits for boost::json.
Provides the type mappings and operations required by jwt-cpp to use boost::json as its JSON backend.