Στις Τρίτη 28 Ιουνίου 2016 στις 10:09:53 π.μ. UTC+3, ο χρήστης Arne Ortlinghaus έγραψε:
Hello Ales,
your Jsonparser has helped me a lot in the past, thank you. We use it to communicate between a VO and a C# program. JSON is a nice type of data exchange, good readable as XML but more compact.
In the mean time I have modified your original classes, see attachment. I have substituted all pointers by strings so that the code ´can be converted directly to Vulcan. It is true that the pointer arithmetic is much faster and can treat bigger data, but having to resolve all the casting errors in Vulcan would have been too much work. Of course other would immediately use other dotnet classes for JSON but for me currently it is the easiest ways.
Arne Ortlinghaus
ACS Data Systems
<[email protected]> schrieb im Newsbeitrag news:[email protected]...
Packaged all to original URL http://www.sherlock.com.au/sherlock32/TestJsonParser.exe
updated JsonParser – added a simple recursive search as this guy Gerard asked. It is demonstrated in the sample app, also updated.
Added class JsonSerializer.
All issues put forward are resolved.
Any JSON you cannot read, let me know
Ales Suchac [email protected]
Hello Arne
I tried your code for class JSON and i don't have the code for some functions.
MsgInternalError(Msg("Object-IVarGet %1 on %2 not; initialized",AsString(aKeys[i]),AsString(oRetValue)),"ConvertJSonToObject()")
RemoveZeroDecimals
fFileRead
fFileWrite
I would appreciate if i have this code.
Regards
George
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)