Commit Graph

27 Commits

Author SHA1 Message Date
daniele.teti
b2ebb8a744 2014-06-30 10:33:17 +00:00
daniele.teti
0b6df41668 BUGFIXES
New sample: articles_crud
2014-06-27 13:30:39 +00:00
daniele.teti
aeb501c1ad 2014-05-22 22:45:56 +00:00
daniele.teti
8fc2614a1d Now the JSONObjectToObject can deserialize the following tkClass:
- TStream
 - TObjectList<T> (only if the list itself is already created on the object)
 - TObject (only if the list itself is already created on the object)

MapperItemClassType has been aliased with MapperListOf to be more compliant to DORM and can be on the property itself or in the declaration of the type of the property (Check TEST TestComplexObjectToJSONObjectAndBack test)
2014-05-22 21:37:13 +00:00
daniele.teti
eb353dfb1c Charset fix because a bung in request body decoding
New features in the ObjectMappers
Charset fixes in ObjectsMappers
2014-05-05 16:52:49 +00:00
daniele.teti
7dad441780 FIX for issue noticed by D.G. 2014-04-21 22:20:00 +00:00
daniele.teti
cae068501c Updated to Delphi XE6 2014-04-16 20:52:25 +00:00
daniele.teti
72696ceeed FIX Encoding stuff 2014-04-10 11:56:23 +00:00
daniele.teti
2495c75a61 2014-04-01 17:36:05 +00:00
daniele.teti
5a8f19a238 ADD Samples
- Middleware
- WineCellar with livebindings
2014-04-01 00:12:34 +00:00
daniele.teti
19d0686644 Refactoring
ADD Session demo
2014-03-31 22:02:31 +00:00
daniele.teti
c1eb644550 ADD Middleware like (more or less) NODEJS EXPRESS library 2014-03-31 09:25:16 +00:00
daniele.teti
14ef086e89 ADD TDataSetHelper 2014-03-24 12:17:30 +00:00
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