From 0669befdc31dff5858d29773ce7f2078354b67c7 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Wed, 24 Aug 2016 08:06:20 -0700 Subject: [PATCH] fixed typo in example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a014883..d5bcd7f 100644 --- a/README.md +++ b/README.md @@ -166,8 +166,8 @@ For example, all of these will return the same result: ```go gjson.Parse(json).Get("name").Get("last") -gjson.Get("name").Get("last") -gjson.Get("name.last") +gjson.Get(json, "name").Get("last") +gjson.Get(json, "name.last") ``` ## Check for the existence of a value