lua-yaml icon indicating copy to clipboard operation
lua-yaml copied to clipboard

IP addresses are parsed as numbers, not as strings.

Open subnetmarco opened this issue 10 years ago • 0 comments

The library has a hard time parsing IP addresses as strings, and it parses them as numbers. For example the following YAML value:

host: 127.0.0.1

is being parsed as:

{
    host = 127
}

While it should be interpreted as a string value, not an integer value. It should be:

{
    host = "127.0.0.1"
}

subnetmarco avatar Mar 04 '15 22:03 subnetmarco