Skip to content

Commit 830dc49

Browse files
Merge remote-tracking branch 'origin/master'
2 parents f4b2c33 + bacfc17 commit 830dc49

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Delphi-JsonToDelphiClass
22
========================
3-
## Fixes & Features: 03h October 2021 ##
3+
## Fixes & Features: 23th December 2021 ##
4+
5+
### Features ###
6+
* Added ASP.NET interface: www.Json2Delphi.com
7+
* Source code included
8+
9+
## Fixes & Features: 03th October 2021 ##
410

511
### Bugs: ###
612
* Wrong type detection. '2019-08-29' wasn't recognized as a Date, but a string
@@ -14,7 +20,7 @@ Delphi-JsonToDelphiClass
1420
Delphi doesn't support Nullable types, so use this attribute to strip TDateTime property where value is 0.
1521

1622
A Small example:
17-
```
23+
``` pascal
1824
type
1925
TDateTimeDTO = class(TJsonDTO)
2026
private
@@ -28,7 +34,7 @@ type
2834
```
2935
The above class will generate the following JSON, if both properties is 0
3036

31-
```
37+
```json
3238
{
3339
"suppressDate":"",
3440
"noSuppressDate":"1899-12-30T00:00:00.000Z"
@@ -55,7 +61,7 @@ NOTE: You can turn off this feature in the settings form
5561

5662
E.g this JSON generated faulty code:
5763

58-
```
64+
```json
5965
{
6066
"/": {
6167
"readonly": true
@@ -116,7 +122,7 @@ E.g this JSON generated faulty code:
116122
* Support for objects with diffrents properties in an Array
117123

118124
Eg this JSON
119-
```
125+
```json
120126
{
121127
"ArrayTest":[
122128
{
@@ -130,7 +136,7 @@ Eg this JSON
130136
```
131137

132138
Generates the following DTO:
133-
```
139+
```pascal
134140
TArrayTestDTO = class
135141
private
136142
FS1: string;

0 commit comments

Comments
 (0)