[Lazarus] Tests results of several pascal based JSON parsers

Alexey Tor. aaa5500 at ya.ru
Fri Aug 30 10:57:08 CEST 2019


This is very good news, that we have JsonTools parser now. I may think 
of using it in CudaText - ie replacing fpJSON to JsonTools.

About lib. 1) Pls add an option to handle //.... comments in json. yes, 
json don't allow this but CudaText and SublimeText and many programs 
have json configs with comments. They use libs which allow comments. 
fpJSON allows comments by option.

2) Pls add an option which allows "," after final dict node: { "a":1, 
"b":2, }

so my app can read json file with final (bad) comma after "b":2.

3) Lib must support "true", "false", "none" or "nil"(?), values like 
list [], with empty list, values like dict {}, with empty dict. And list 
inside dict etc.

Alexey Torgashin





More information about the lazarus mailing list