[fpc-pascal] JSON parser error due to my data values.

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Jan 26 11:57:42 CET 2017


On 2017-01-26 10:54, Graeme Geldenhuys wrote:
> So it seems the FPC JSON parser doesn't like DOS\Windows paths as data
> values.

I guess the alternative (in case \<something> is supposed to be
interpreted as an escape sequence) is to store my DOS\Windows paths with
forward slashes like UNIX, then use SetDirSeparators() in my program to
fix the resulting string.

eg   "d:/data"


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



More information about the fpc-pascal mailing list