ofxJSON
ofxJSON copied to clipboard
UTF-8
Hi,
Should this work with UTF-8 encoded files? If I try to open a file using json.open("file.json") that is UTF-8 encoded I get the following error:
ofxJSONElement::openLocal: Unable to parse file.json: * Line 1, Column 1 Syntax error: value, object or array expected.
If the same file is encoded as ANSI then it works fine.
This is a jsoncpp issue https://github.com/open-source-parsers/jsoncpp/issues/428
We need to confirm that the old API is not being used. Since ofJson is now the OF standard, this addon isn't maintained anymore, but PRs are welcome!