Open ReneNyffenegger opened 3 years ago
This is due to the internal json_ParseObject function that do not check for the absence of a comma between 2 members.
IMO the operation should be aborted (by raising an error) when such case happen. Alas, I don't think it will be fixed any time soon, as the library do not seems to be maintained anymore.
The following JSON document is parsed by VBA-JSON, although it is not valid JSON (because the
B
key is not separated by a comma from theA
key):The following VBA sub indicates that that document has the keys
A
andB
: