Re:A Journey building a fast JSON parser and full JSONPath
by mjpa86 on Thursday October 12, 2023 @05:25AM
(#37855051)
aren't they implied strings? If "[a b c]" is an array of 3 strings, "a", "b" and "c", then True is a string "True". That's the problem.
Re:A Journey building a fast JSON parser and full JSONPath
by jarym on Thursday October 12, 2023 @08:12AM
(#37856112)
I must be missing why you think they're implied strings - I don't see that in the spec. What I do see is:
"Strings can also be delimited with a single quote character which allows for a string to be either "abc" or 'abc'."
There's no mention of having a string without a delimeter.
Re:A Journey building a fast JSON parser and full JSONPath
by ReleaseCandidat on Thursday October 12, 2023 @08:24AM
(#37856212)
The example below is this:
> array: [a b c]
` { array: ["string1" "string2" "true" true "True" "TRUE" "yes" "y"] } `