Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <JsonDecoder.h>
Classes | |
struct | DecoderResult |
Public Member Functions | |
BasicJsonDecoder () | |
BasicJsonDecoder (const ALLOC &allocator) | |
DecoderResult | decodeValue (StringView input) |
Public Member Functions inherited from zserio::AllocatorHolder< std::allocator< uint8_t > > | |
AllocatorHolder () | |
AllocatorHolder (const allocator_type &allocator) | |
AllocatorHolder (allocator_type &&allocator) | |
allocator_type | get_allocator () const |
AllocatorHolder (const AllocatorHolder &other)=default | |
AllocatorHolder (AllocatorHolder &&other)=default | |
~AllocatorHolder ()=default | |
AllocatorHolder & | operator= (const AllocatorHolder &other)=default |
AllocatorHolder & | operator= (AllocatorHolder &&other)=default |
Additional Inherited Members | |
Public Types inherited from zserio::AllocatorHolder< std::allocator< uint8_t > > | |
using | allocator_type = std::allocator< uint8_t > |
Protected Member Functions inherited from zserio::AllocatorHolder< std::allocator< uint8_t > > | |
void | set_allocator (const allocator_type &allocator) |
void | set_allocator (allocator_type &&allocator) |
allocator_type & | get_allocator_ref () |
const allocator_type & | get_allocator_ref () const |
JSON value decoder.
Definition at line 24 of file JsonDecoder.h.
|
inline |
Empty constructor.
Definition at line 92 of file JsonDecoder.h.
|
inlineexplicit |
Constructor from given allocator.
allocator | Allocator to use. |
Definition at line 101 of file JsonDecoder.h.
|
inline |
Decodes the JSON value from the input.
input | Input to decode from. |
Definition at line 112 of file JsonDecoder.h.