Re: [fpc-pascal] A new design for a JSON Parser

2019-08-26 Thread Anthony Walter
Adding a global redefinable separator character is a good idea which I might add. With regards to using the forward slash, I am just reusing the XPath way of doing things and was considering adding a few more XPath like queries. For example: N.Find('/inventory/999/sku'); // search from root if the

Re: [fpc-pascal] A new design for a JSON Parser

2019-08-26 Thread Zamrony P. Juhara via fpc-pascal
Very cool library. It would be nice if separator character can be change For example, for me personally aval := n.find('billTo.name'). value; more intuitive instead of aval := n.find('billTo/name'). value; Also AFAIK, GPL v3 license will require application using this library must use GPL too. Z

[fpc-pascal] A new design for a JSON Parser

2019-08-26 Thread Anthony Walter
I know the FCL already has a capable JSON parser, but I am writing some Amazon web service interfacing projects and wanted a smaller easier to use JSON parser to assist. I've create a new design for a JSON parser that is pretty small, yet powerful. If your interested, I've posted the code under GP