On 2017-01-26 14:31, geneb wrote:
> Does it work if you try "d:\\data"?


Yes. My problem was I didn't realise the JSON standard supports escaped
sequences.

My program is only reading from the JSON file at this point, not
writing. The JSON file is manually created with a text editor. So to be
on the safe side, I now implemented my code to support both "d:/data"
and "d:\\data" string data formats.


Regards,
  Graeme

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to