You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've discovered a couple of issues while working with the json api.
Sometimes bindata is an array of numbers instead of a string. This makes consuming the data a painstaking task. Luckily, string sequences in json can contain unicode escapes, so this can actually be safely represented as a string instead of an array of numbers.
Sometimes there are invalid escape sequences in bindata strings (for example \199). No conformant json parser will accept it. Luckily, the same unicode escape sequences mentioned in the above point can be used here.
I would normally try to contribute something like this myself, but the portability requirements of this code are well beyond my expertise 😅
The text was updated successfully, but these errors were encountered:
I've discovered a couple of issues while working with the json api.
Sometimes bindata is an array of numbers instead of a string. This makes consuming the data a painstaking task. Luckily, string sequences in json can contain unicode escapes, so this can actually be safely represented as a string instead of an array of numbers.
Sometimes there are invalid escape sequences in bindata strings (for example
\199
). No conformant json parser will accept it. Luckily, the same unicode escape sequences mentioned in the above point can be used here.I would normally try to contribute something like this myself, but the portability requirements of this code are well beyond my expertise 😅
The text was updated successfully, but these errors were encountered: