-
### Description
Parsing a YAML document which contains only one scalar produces a mapping with the scalar as a key to a null scalar, but the parse result must be a scalar.
### Reproduction steps
Ru…
-
### Description
Writing `float` to Yaml will not have `.0` suffix and thus cannot be read by `float` again using the library.
### Reproduction steps
Try
```
fkyaml::node n = 0.0; // d…
-
### Description
If a yaml file contains number end with dot `.`, for example `score: 2.`, `fkyaml::node::deserialize()` will throw exception:
```log
test: /home/name/fkYAML/include/fkYAML/detail/in…
-
### Description
When you try to load a file that doesn't exist (using `std::ifstream`), `InputType` will be null and from what I saw, this isn't checked anywhere. I suppose this should be checked i…
sndth updated
1 month ago
-
### Description
when parsing anchor_prefix and tag prefix, the code currently doesn't advance line if we happend to consume newline character.
this results in the subsequent tokens being labelled …
-
### Description
When querying nodes with value 0, `get_value()` and `get_value()` will throw exception with message
> Floating point value underflow detected.
It is suspected that a prior check o…
-
### Description
Just including the node.hpp file (nothing else) generates two errors in visual studio 2022 Version 17.10.1.
The first one: error C2976: 'fkyaml::v0_3_8::node_value_converter': too …
-
### Description
it seems that an issue occurs when parsing yaml in the following file.
```
contexts:
- context: …
-
### Description
The parser cannot generate a correct node tree starting with special values like `true`, `null`, for example, a `nullValue` scalar or a `false_positive` scalar.
### Reproduction …
-
### Description
This YAML file crashes deserializer:
```yaml
test:
# comment
- item: 123
```
### Reproduction steps
```c++
std::ifstream ifs("test.yaml");
fkyaml::node root = fkyaml::n…