tinytoml icon indicating copy to clipboard operation
tinytoml copied to clipboard

A header only C++11 library for parsing TOML

Results 19 tinytoml issues
Sort by recently updated
recently updated
newest added

Currently passing failed/bad stream results in successful parsing(which actually parses nothing at all). Simple case would be pass ifstream to non-existing fail ```c++ std::ifstream ifs("foo.toml"); toml::ParseResult pr = toml::parse(ifs); if...

Here's the input that will trigger the issue: [int_overflow.txt](https://github.com/mayah/tinytoml/files/1273328/int_overflow.txt) Feed it into master(c2444ed) parse_stdin built with UndefinedBehaviorSanitizer and linked with libstdc++(shipped with gcc 7.1.1) will crash the parser: ``` >...

Using tinytoml to write a toml document, I am wondering if it is possible to specify that a nested table should be inline? Tinytoml has absolutely no problem reading inline...

Hi, As TOML v0.4.0 specify that "_Key/value pairs within tables are not guaranteed to be in any specific order_.", wouldn't be better if tinytoml represented tables internally using **std;;unordered_map** instead...

In toml version 0.2.0, we don't need to consider timezone. However, now we need to consider timezone when writing toml::Value back to a file. We need to break backward compatibility...

Hi, I'm getting some weird output when trying to write 2-dimensional arrays with objects/tables inside. I'm trying to save the equivalent of JSON `{"A": [ [ {"value": 1} ] ]...

i ahve a toml file that uses for double numbers a leading 0 in the exponent Distortion-Factors = [ 8.246,0.0812962,-0.000452233,0.109974,-5.38649e-05, 2.77189e-08, ] with that parsins throws exception Distortion-Factors = [...

**I use AFL when fuzzing and got some crashes.** #### Following is the detail. ==3780==ERROR: LeakSanitizer: detected memory leaks AddressSanitizer:DEADLYSIGNAL ================================================================= ==18948==ERROR: AddressSanitizer: stack-overflow on address 0x7ffc3803dbc8 (pc 0x0000004982e9 bp...

1>C:\Users\davea\Documents\BOINC_git\boinc\samples\docker_wrapper\toml.h(237,24): warning C4996: 'gmtime': This function or variable may be unsafe. Consider using gmtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.