Skip to content

Commit

Permalink
docs(readme): Corrected the link to MDN
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Feb 22, 2018
1 parent 9d21d02 commit fd8d493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ event1.toString() === 'AccountCreated(username=UserName(value=jan-molak), value=
## Serialisation to JSON

Every TinyType defines
a [`toJSON()` method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON()_behavior),
a [`toJSON()` method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior),
which returns a JSON representation of the object. This means that you can use TinyTypes
as [Data Transfer Objects](https://en.wikipedia.org/wiki/Data_transfer_object).

Expand Down

0 comments on commit fd8d493

Please sign in to comment.