You are not logged in.
Pages: 1
Hi Arnaud,
it's been a while that I had a chance to update my local mORMot2 rep, as another project attacked my (not so) well laid out time table.
Anyway, one change, that grabbed my be surprise, is the use of records with methods, rather than the previous object approach. In mormot.core.json defines the TJsonSaveContext. In our project, I have created my own version of the (previously) object, and could, through a helper object, easily access the fields
W: TJsonWriter;
Options: TTextWriterWriteObjectOptions;
Info: TRttiCustom;
Prop: PRttiCustomProp;
to implement very specific sub cases. I do propose making those fields public, please :-)
Regards,
Daniel
Offline
Does make sense.
Please try https://github.com/synopse/mORMot2/commit/f0e21285
Offline
Pages: 1