From 1ff3b98133b41b117da56a5aade79eed0426396f Mon Sep 17 00:00:00 2001 From: Phillip Harris Date: Fri, 19 May 2017 11:39:48 -0400 Subject: [PATCH] Fixed misspelled words. --- Readme.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.markdown b/Readme.markdown index e5daf94..4cab26b 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -7,7 +7,7 @@ Micro framework for easily parsing JSON in Swift 3 with rich error messages in less than 100 lines of code. -> *infomercial voice* 🎙 Are you tried of parsing JSON and not knowing what went wrong? Do you find complicated frameworks with confusing custom operators a hassle? Are you constantly wishing this could be simpler? Well now it can be, with JSON! Enjoy the Simple™ +> *infomercial voice* 🎙 Are you tired of parsing JSON and not knowing what went wrong? Do you find complicated frameworks with confusing custom operators a hassle? Are you constantly wishing this could be simpler? Well now it can be, with JSON! Enjoy the Simple™ ## Usage @@ -75,11 +75,11 @@ struct Comment { extension Comment { init(jsonRepresentation json: JSONDictionary) throws { - body = try deocde(json, key: "body") + body = try decode(json, key: "body") // See how we use `try?` to just get `nil` if it fails to decode? // Easy as that! - publishedAt = try? deocde(json, key: "published_at") + publishedAt = try? decode(json, key: "published_at") } } ```