Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
roughike committed May 10, 2019
1 parent 7c8cd5f commit 19fcb8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Depending on your use case, you need to provided a non-null `SampleObject.empty(

### Using JsonAdapter with built_value

You can do custom serialization logic before JSON encoding the object by providing a [serializer].
Similarly, you can use [deserializer] to map the decoded JSON map into any object you want.
You can do custom serialization logic before JSON encoding the object by providing a serializer.
Similarly, you can use deserializer to map the decoded JSON map into any object you want.

For example, if the previous `SampleObject` didn't have `toJson` and `fromJson` methods, but was a built_value model instead:

Expand Down

0 comments on commit 19fcb8f

Please sign in to comment.