Skip to content

Version 3.0

Compare
Choose a tag to compare
@JensBorrisholt JensBorrisholt released this 22 Dec 14:51
· 91 commits to master since this release
fc2f304

Bugs:

Features

  • New main form. Completly rewritten.
  • Support for BSON
  • Support for Minify JSON
  • Support for multiblt output formats
  • JSON are now minifyed before posted to the validator. Means support for larger JSONs to be validated.
  • Version 3.0 released.

Fixes & Features: 11th December 2020

Bugs:

  • "id": "01010101" faulty generated a TDateTime property not string.
  • Settings.AddJsonPropertyAttributes didn't generate a Property Attribute

Features

  • JSON are now posted directly to the validator
  • Better property name generator
  • More unit tests

Fixes & Features: 24th November 2020

Bugs:

Features

  • Possibility to change the postfix of ClassNames, via Settings Dialog. Default: DTO
  • Settings Dialog rewritten to use LiveBindings
  • Create a Demo Project, using your Json Data

Fixes & Features: 22th November 2020

Bugs:

  • Demo generator didn't allways generate valid code
  • Stopped the generator from generating surplus classes.

Features

  • Non object arrays are now mapped into a TList instead of TArray
  • Added a settings dialog and settings class
  • Properties in PascalCase (Setting)
  • Allways use JsonName property annotation (Setting)
  • Support for objects with diffrents properties in an Array

Eg this JSON

{
   "ArrayTest":[
      {
           "S1":"5102"
      },
      {
           "S2":"True"
      }      
   ]
}

Generates the following DTO:

  TArrayTestDTO = class
  private
    FS1: string;
    FS2: string;
  published
    property S1: string read FS1 write FS1;
    property S2: string read FS2 write FS2;
  end;