serialization to CBOR and MessagePack values
More...
serialization to CBOR and MessagePack values
wpi::json::binary_writer::binary_writer |
( |
raw_ostream & |
s | ) |
|
|
inlineexplicit |
create a binary writer
- Parameters
-
[in] | adapter | output adapter to write to |
void wpi::json::binary_writer::write_ubjson |
( |
const json & |
j, |
|
|
const bool |
use_count, |
|
|
const bool |
use_type, |
|
|
const bool |
add_prefix = true |
|
) |
| |
- Parameters
-
[in] | j | JSON value to serialize |
[in] | use_count | whether to use '#' prefixes (optimized format) |
[in] | use_type | whether to use '$' prefixes (optimized format) |
[in] | add_prefix | whether prefixes need to be used for this value |
The documentation for this class was generated from the following file:
- build/cppSource/wpiutil-cpp/sources/json_binary_writer.cpp