As a veteran Delphi developer,
Recently when making a gadget, start picking up the Pascal language.
is to develop a small tool for internal use,
Main functions:
1. Parsing JSON format
2. Format the JSON file
3. Verifying JSON file validity
Read a lot of JSON open source projects, most of them are poor support for Chinese encoding.
The final conclusion:
Parse JSON format:
Https://github.com/ahausladen/JsonDataObjects
To validate the JSON file:
https://bitbucket.org/egrange/dwscript/
Dwsjson in the
Format the JSON file:
https://bitbucket.org/Gloegg/delphi-xe-json/
Json.formatter in the
I was thinking of taking the time to convert Json.formatter to C code,
Later felt as if necessity did not exist.
Although the latest version of the IDE comes with a JSON module,
But just a JSON parsing control resource is actually like this .... Sad.
Python,c,c++,js booming
C#,delphi Desolate
Very sigh, Delphi is thus reduced to "three or four line language".
Ten years ago, the wind was very temporary, now who is cooking wine on heroes.
Delphi JSON parsing related