Commit Graph

14 Commits

Author SHA1 Message Date
daniele.teti
1723981871 Updated WineCellar Sample 2014-03-13 00:01:27 +00:00
daniele.teti
b01e933b4a ADDED TDataset Class Helpers
TDataSetHelper = class helper for TDataSet
  public
    function AsJSONArray: TJSONArray;
    function AsJSONObject: TJSONObject;
    procedure LoadFromJSONObject(AJSONObject: TJSONObject);
    procedure LoadFromJSONArray(AJSONArray: TJSONArray);
    function AsObjectList<T: class, constructor>(CloseAfterScroll: boolean = false): TObjectList<T>;
    function AsObject<T: class, constructor>(CloseAfterScroll: boolean = false): T;
  end;
2014-03-12 23:46:29 +00:00
daniele.teti
ab0fc4758b ADD Mapper.DataSetToJSONObject
ADD Mapper.JSONObjectToDataSet

ADD UnitTests
2014-03-12 23:29:23 +00:00
daniele.teti
962aa41774 2014-03-12 22:03:48 +00:00
daniele.teti
49bbc1e9f9 ADD TDataSet classhelper for converting dataset data to json and objects 2014-03-07 23:26:31 +00:00
daniele.teti
ebd71d200b FIX for https://code.google.com/p/delphimvcframework/issues/detail?id=3 2014-03-07 22:52:02 +00:00
daniele.teti
f039c41923 SMALL FIXES 2014-03-07 22:16:33 +00:00
daniele.teti
9705ce0384 + support for isapi app 2014-02-24 09:20:34 +00:00
daniele.teti
1a165ad571 ADD UnitTest for ObjectToJSONObject and Back
ADD support for mapping of TTimeStamp type
2013-11-19 17:17:06 +00:00
daniele.teti
35b7732b40 2013-11-17 23:44:40 +00:00
daniele.teti
a029474426 ADD DoNotSerialize attribute. Usefull when you dont need an object property in the JSON serialized version 2013-11-11 14:24:51 +00:00
daniele.teti
91d84ae73e 2013-11-11 00:11:09 +00:00
daniele.teti
f05e2ea1d7 2013-11-10 00:04:17 +00:00
daniele.teti
baebb721ee The main sources 2013-10-29 23:48:23 +00:00