I am looking to load local data to the database and I am thinking on using the JSON sterilizers available.
the SuperObject is not cross platform.
Is the DataSnap cross platform? I need it working on mobile also
I am not using DataSnap at all, and can be used just this part for JSON?
Just a suggestion, the author of SuperObject is not maintaining it anymore, actually he is not even more programming in Delphi. There is a new project called XSuperObject that is focused on trulycross platform. I have changed my code to use it, there are few differences, but nothing bad, and works pretty well and being maintained.
Yes, the DataSnap library is cross platform, and although the unit name indicates it belongs to DataSnap library, it doesn't use any of the communication classes from DataSnap, it's a separate thing. Actually in recent Delphi versions (I believe started in XE6), the unit name was renamed from DBXJson to System.Json, exactly to indicate that it has nothing to do with DataSnap, it's just used by it.
Thank you for indicating another library. The Delphi Json library (the DataSnap one you mentioned) is available for all Delphi users. Also, in TMS Sparkle, which is part of TMS Business Subscription, we have a json writer/reader that will be used by the XData product for JSON serialization, so I guess there is no urgent need for now to add another library. But if you want to share your code, we might find some time to integrate it into the product in the future.