|
Libsaki
Core library of Pancake Mahjong
|
deserialization of CBOR and MessagePack values More...
#include <json.hpp>
Public Member Functions | |
| binary_reader (input_adapter_t adapter) | |
| create a binary reader More... | |
| BasicJsonType | parse_cbor (const bool strict) |
| create a JSON value from CBOR input More... | |
| BasicJsonType | parse_msgpack (const bool strict) |
| create a JSON value from MessagePack input More... | |
| BasicJsonType | parse_ubjson (const bool strict) |
| create a JSON value from UBJSON input More... | |
Static Public Member Functions | |
| static constexpr bool | little_endianess (int num=1) noexcept |
| determine system byte order More... | |
deserialization of CBOR and MessagePack values
|
inlineexplicit |
create a binary reader
| [in] | adapter | input adapter to read from |
|
inlinestaticnoexcept |
determine system byte order
|
inline |
create a JSON value from CBOR input
| [in] | strict | whether to expect the input to be consumed completed |
| parse_error.110 | if input ended unexpectedly or the end of file was not reached when strict was set to true |
| parse_error.112 | if unsupported byte was read |
|
inline |
create a JSON value from MessagePack input
| [in] | strict | whether to expect the input to be consumed completed |
| parse_error.110 | if input ended unexpectedly or the end of file was not reached when strict was set to true |
| parse_error.112 | if unsupported byte was read |
|
inline |
create a JSON value from UBJSON input
| [in] | strict | whether to expect the input to be consumed completed |
| parse_error.110 | if input ended unexpectedly or the end of file was not reached when strict was set to true |
| parse_error.112 | if unsupported byte was read |
1.8.13