[fpc-pascal] TJSONData.FindPath() troubles where data contains dots.

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Feb 8 17:36:45 CET 2017


On 2017-02-08 16:33, Michael Van Canneyt wrote:
> One way is to allow to escape dots in the path. 
> But because every character is allowed in a javascript object property, that
> would mean that \. can also be a correct property name, and so we need to
> introduce \\ as an escape for \...
> 
> It could be added.


No, I think that will just get messy (your choice). I was just wondering
if I was doing something wrong. Either way, I managed to use TJSONenum
and it worked just fine for my needs.


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