What are the differences between REST.JsonReflect and Data.DBXJSONReflect? [closed]
Asked Answered
C

0

6

Delphi introduced a new JSON marshaler in unit REST.JsonReflect, a similar JSON marshaler exists in unit Data.DBXJSONReflect. Both units introduce TJSONConverters to create TJSONMarshal and TJSONUnMarshal instances.

  • what are the differences between REST.JsonReflect.TJSONConverters and Data.DBXJSONReflect.TJSONConverters?

  • will REST.JsonReflect.TJSONConverters replace Data.DBXJSONReflect.TJSONConverters?

  • are there any situations where I should use Data.DBXJSONReflect.TJSONConverters instead of REST.JsonReflect.TJSONConverters?

Cootch answered 3/10, 2014 at 13:14 Comment(3)
I always use SuperObject, it doesn't come with Delphi but most developers prefer it.Napoleon
@JerryDodge: I use SuperObject before but switch to System.JSON.pas. I think Delphi build in JSON library works better with DataSnap server methods.Cootch
One more vote to go ...Hydrozoan

© 2022 - 2024 — McMap. All rights reserved.