mirror of
https://codeberg.org/icewind/vdf-reader.git
synced 2026-06-03 18:14:07 +02:00
readme
This commit is contained in:
parent
08e7d35905
commit
8c9aa02d58
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
|
@ -11,6 +11,22 @@ This crate implements a deserializer for serde, but because VDF doesn't map that
|
||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
- Because the boolean values `0` and `1` can't be distinguished from numbers, it is not possible to use booleans in untagged enums.
|
- Because the boolean values `0` and `1` can't be distinguished from numbers, it is not possible to use booleans in untagged enums.
|
||||||
|
- When deserializing arrays by settings the same key multiple times, the keys have to be consecutive.
|
||||||
|
```vdf
|
||||||
|
key: 1
|
||||||
|
key: 2
|
||||||
|
other: 3
|
||||||
|
```
|
||||||
|
|
||||||
|
will work, but
|
||||||
|
```vdf
|
||||||
|
key: 1
|
||||||
|
other: 3
|
||||||
|
key: 2
|
||||||
|
```
|
||||||
|
|
||||||
|
will not.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Tagged enum root
|
### Tagged enum root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue