onryldz / x-superobject

Delphi Cross Platform Rapid JSON
316 stars 118 forks source link

A name issue #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 TSuperObjectHelper = class helper for TObject
  public
    function AsJSON: String;
    constructor ToJSON(const JSON: String);
  end;

  TSuperRecord<T: Record> = class
  public
    class function AsJSON(Rec: T): String;
    class function ToJSON(JSON: String): T;
  end;

I recommend two "ToJSON" methods renamed as "FromJSON"

Original issue reported on code.google.com by wqyfavo...@gmail.com on 31 Oct 2013 at 2:41

GoogleCodeExporter commented 9 years ago
:)

Original comment by onryld...@gmail.com on 31 Oct 2013 at 8:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r25.

Original comment by onryld...@gmail.com on 31 Oct 2013 at 8:35

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r27.

Original comment by onryld...@gmail.com on 24 Nov 2013 at 9:38