JSON Voorhees
Killer JSON for C++
|
Provides extra information to routines used for extraction. More...
#include <jsonv/serialization.hpp>
Public Member Functions | |
context_base () | |
Create a new instance using the default formats (formats::global ). More... | |
context_base (jsonv::formats fmt, const jsonv::version &ver=jsonv::version(1), const void *userdata=nullptr) | |
Create a new instance using the given fmt, ver and p. More... | |
const jsonv::formats & | formats () const |
Get the formats object backing extraction and encoding. More... | |
const jsonv::version | version () const |
Get the version this extraction_context was created with. More... | |
const void * | user_data () const |
Get a pointer to arbitrary user data. More... | |
Provides extra information to routines used for extraction.
Definition at line 503 of file serialization.hpp.
jsonv::context_base::context_base | ( | ) |
Create a new instance using the default formats
(formats::global
).
|
explicit |
Create a new instance using the given fmt, ver and p.
|
inline |
Get the formats
object backing extraction and encoding.
Definition at line 518 of file serialization.hpp.
|
inline |
Get a pointer to arbitrary user data.
Definition at line 530 of file serialization.hpp.
|
inline |
Get the version this extraction_context
was created with.
Definition at line 524 of file serialization.hpp.