VBA-tools/VBA-JSON

Error 10001 when processing chinese character in my application

RaymondMZ opened this issue · 1 comments

I receive the following error when working on Chinese character
Err.Raise 10001, "JSONConverter", json_ParseErrorMessage(JsonString, json_Index, "Expecting '{' or '['")

Anyone care to help explain the reason and the solution to overcome this?

You did not mention which function raused the error or provide the input string.

FunctionParseJsondoes not parse 'naked' JSON values (strings, numbers ...) outside a JSON Array or Object.
If you were expecting to receive structured data from a web server, it is likely that you received an error message string rejecting your request. You will need to interpret the message and act on it.

if another function raised the error, it is likely that the input string does not conform to the JSON standard. if you cannot identify the fault, make a text file (.txt) containing the input string and attach it to a reply. Do NOT paste the input string directly into a post.

if the above solves your problem, please close the issue here.