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

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

#include <traits.h>

Classes

struct  array_type
struct  object_type

Public Types

using json = jsoncons::json
using value_type = json
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_integer (const json &val)
static boolean_type as_boolean (const json &val)
static bool parse (json &val, const std::string &str)
static std::string serialize (const json &val)

Detailed Description

basic_claim's JSON trait implementation for jsoncons.


The documentation for this struct was generated from the following file:
  • include/jwt-cpp/traits/danielaparker-jsoncons/traits.h