mirror of
https://github.com/nlohmann/json
synced 2024-11-23 20:40:08 +00:00
📝 added documentation for binary formats
This commit is contained in:
parent
57e6fddd90
commit
51c774f208
BIN
doc/avatars.png
BIN
doc/avatars.png
Binary file not shown.
Before Width: | Height: | Size: 582 KiB After Width: | Height: | Size: 591 KiB |
@ -63,7 +63,7 @@ std::vector<uint8_t> v;
|
||||
json j3 = json::from_cbor(v); // 1
|
||||
|
||||
const char* buff;
|
||||
ize_t buff_size;
|
||||
std::size_t buff_size;
|
||||
json j4 = json::from_cbor(buff, buff_size); // 2
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user