0

I would like to serialize a complex record (it contains a couple levels of dynamic arrays with subrecords) to a JSON string, and back, from a JSON string get the record it represents.

Normally I would use the TJSONMarshal and TJSONUnMarshal classes, but TJSONMarshal.Marshal doesn't accept records, only objects. Do you know of an alternative that can be used with records ?.

Thank you.

Marc Guillot
  • 6,090
  • 1
  • 15
  • 42

0 Answers0