|
Zserio C++ runtime library
1.3.0
Built for Zserio 2.18.0
|
#include <JsonDecoder.h>

Public Member Functions | |
| DecoderResult (size_t numRead, const ALLOC &allocator) | |
| template<typename T > | |
| DecoderResult (size_t numRead, T &&decodedValue, const ALLOC &allocator) | |
| template<typename T > | |
| DecoderResult (size_t numRead, T &&decodedValue, bool overflow, const ALLOC &allocator) | |
Public Attributes | |
| size_t | numReadChars |
| AnyHolder< ALLOC > | value |
| bool | integerOverflow |
Decoder result value.
Definition at line 33 of file JsonDecoder.h.
|
inline |
Constructor used for decoder failure.
| numRead | Number of processed characters. |
| allocator | Allocator to use. |
Definition at line 41 of file JsonDecoder.h.
|
inline |
Constructor for decoder success.
| numRead | Number of processed characters. |
| decodedValue | Value decoded from JSON stream. |
| allocator | Allocator to use. |
Definition at line 55 of file JsonDecoder.h.
|
inline |
Constructor used for integer decoder.
| numRead | Number of processed characters. |
| decodedValue | Value decoded from JSON stream. |
| overflow | True in case of integer overflow. |
| allocator | Allocator to use. |
Definition at line 70 of file JsonDecoder.h.
| bool zserio::BasicJsonDecoder< ALLOC >::DecoderResult::integerOverflow |
True if decoded value was bigger than UINT64_MAX or was not in interval <INT64_MIN, INT64_MAX>.
Definition at line 78 of file JsonDecoder.h.
| size_t zserio::BasicJsonDecoder< ALLOC >::DecoderResult::numReadChars |
Number of processed characters.
Definition at line 76 of file JsonDecoder.h.
| AnyHolder<ALLOC> zserio::BasicJsonDecoder< ALLOC >::DecoderResult::value |
Decoded value. Empty on failure.
Definition at line 77 of file JsonDecoder.h.