fson icon indicating copy to clipboard operation
fson copied to clipboard

Invalid json strings are parsed successfully

Open zephyr111 opened this issue 6 years ago • 0 comments

The library accept invalid json strings. Here is the code to reproduce the issue:

subroutine test_parsing()
    type(fson_value), pointer :: jsonValue
    jsonValue => fson_parse(str=' [ - 4 y 2 ] ') ! invalid json, but works fine !
    call fson_destroy(jsonValue)
end subroutine

zephyr111 avatar Jan 26 '19 16:01 zephyr111