From fd8d4938d8e49e7700ef6e34d5f78b6e99d77aa0 Mon Sep 17 00:00:00 2001 From: jan-molak Date: Thu, 22 Feb 2018 00:23:20 +0000 Subject: [PATCH] docs(readme): Corrected the link to MDN --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e9cd3c7..a8016bb4 100644 --- a/README.md +++ b/README.md @@ -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).