fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
380 stars 182 forks source link

SuperObject vs DbxJson as default #19

Closed vegar closed 10 years ago

vegar commented 10 years ago

You state that "SuperObject is the default on supported platforms" but at the same time, USE_SUPER_OBJECT is undefined for DELPHI_XE_UP:

DelphiRest.inc

{$DEFINE USE_SUPER_OBJECT}

{$IFDEF DELPHI_2010_UP}
  {$DEFINE USE_GENERICS}
{$ENDIF}

{$IFDEF DELPHI_XE_UP}
  {$UNDEF USE_SUPER_OBJECT}
{$ENDIF}

Who's right: The wiki or the code...?

fabriciocolombo commented 10 years ago

Sorry, the wiki is outdated. The use of DBXJson was set to default to avoid external dependencies to use the framework. I removed the misleading references in wiki about SuperObject. Are you having any problem with serialization?

vegar commented 10 years ago

Nah - not really. Had some problems getting things to compile - had to move some defines around. But from what I have tried so far, it works.

jhonatasobrinho commented 8 years ago

How did you solve that? Can you explain with samples, please? Thanks!

RobertoSchneiders commented 8 years ago

@jhonatasobrinho If you are experiencing any problem, feel free to open a new issue and detail it