|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 09 > 03 > Telegram_2023-09-03T17 |
2023-09-03T17:23:46
Great. To serialize and deserialize json content what classes/methods should you recommend?
2023-09-03T17:26:13
To create json responses i like this:
type: link https://docwiki.embarcadero.com/CodeExamples/Sydney/en/RTL.JSONBuilder
2023-09-03T17:29:08
And to read i read it manually:
type: code var xJson := TJSONObject.ParseJSONValue(receivedjson);
2023-09-03T17:40:31
IntraWeb incorporates a version of the excellent library JsonDataObjects.
Just add IWJsonDataObjects to your uses clause and enjoy.
Se examples of usage, here:
type: link https://github.com/ahausladen/JsonDataObjects
2023-09-03T17:48:25
Time for a refactor
2023-09-03T17:48:29
??
2023-09-03T17:48:45
I agree