You are not logged in.
Hi, I want to ask: Is there any way to serialize and deserialize JSON in a cross-platform FMX application (e.g., for Android) using mORMot, similar to the RecordSaveJSON() and RecordLoadJSON() functions? I read in the documentation that we can use JSONVariant, but this just converts JSON to a variant. I'm looking for a solution that would allow proper serialization and deserialization of records or objects, as those functions do.
Offline
Even with mormot 1 ?
Offline
You have https://github.com/synopse/mORMot/blob/ … rmJSON.pas which is independent from the main mORMot 1 (or mORMot 2) codebase.
It supports basic serialization of class instances (published properties) but not records.
Offline