Hi,
I have the following snippet in a JSON file.
================
"Settings": {
"SQLDir": "d:\data"
}
================
When I load the complete JSON file using FPC's jsonparser.pp unit I get
a parser error.
"Invalid character at line 6, pos 16: 'd' "
It seems like it is trying to interpret the field data value like a
C/C++ escape sequence. eg: \n meaning NewLine
I such escape sequence processing a JSON standard? Can I tell the JSON
parser to treat data as-is, without any interpretation?
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal