From 371acf8f0c76f45f29e357a78ea0ab8f94c3d3ad Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Mon, 8 May 2017 07:40:56 -0700 Subject: [PATCH] updated wording --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e2d4d83..c3289c2 100644 --- a/README.md +++ b/README.md @@ -241,8 +241,7 @@ see a 3-4x boost in performance without the need for external generators. This function works almost identically to `json.Unmarshal` except that it expects the json to be well-formed prior to being called. Invalid json -will not panic, but it may return back unexpected results. Therefore the -return value of this function will always be nil. +will not panic or cause a decoding error. Another difference is that `gjson.Unmarshal` will automatically attempt to convert JSON values to any Go type. For example, the JSON string "100" or