|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Components » View Thread|
|Messages 1 to 4 of 4 total|
|JSON Parser Unit|
|Sat, Mar 24 2018 6:25 AM||Permanent Link|
Tactical Business Corporation
I went looking for a simple JSON parser and found one and converted it for EWB use.
There were a couple of bugs I found and fixed and convert from callback event driven to storing the
parsed outcome in TStringList.
If you enhance or correct anything - please post your code back here for all of us.
//Copyright (c) 2012 Dmytro Lystopad
//This library is free software;
//you can redistribute it and/or modify it
//under the terms of the MIT License http://en.wikipedia.org/wiki/MIT_License
|Mon, Mar 26 2018 3:25 AM||Permanent Link|
> I went looking for a simple JSON parser and found one and converted it for EWB use.
Thank you very much, Walter.
|Fri, Jun 8 2018 2:29 AM||Permanent Link|
|Tue, Jun 12 2018 2:22 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Why would you need your own implementation while there is a standard JSON object in all modern browsers? >>
Because the JSON object creates new instances automatically, which is not what you always want. So, it's either use the built-in JSON parser and create objects that you'll just end up discarding, or parse it manually and obtain more control over the parsing process.