Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simc committed Dec 29, 2022
1 parent 4ca1362 commit f26a753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void main() {

That's it! You can now parse and serialize JSON with ease.

### Ignoring fields
## Ignoring fields

Annotate properties with `@jsonIgnore` to ignore them:

Expand All @@ -81,7 +81,7 @@ class Tweet {
}
```

### Renaming fields
## Renaming fields

Use the `@JsonName()` annotation to rename individual fields:

Expand Down Expand Up @@ -128,7 +128,7 @@ enum PlaceType {
}
```

### Custom converters
## Custom converters

You can use custom converters to convert between JSON and Dart types. Just create a class that implements `JsonConverter<T>`.

Expand Down

0 comments on commit f26a753

Please sign in to comment.