From 7a0721334f869ab5d53c0f0f3bab3514baa0bfc4 Mon Sep 17 00:00:00 2001 From: tidwall Date: Fri, 14 May 2021 09:02:12 -0700 Subject: [PATCH] Fix syntax --- SYNTAX.md | 6 +++--- gjson_test.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SYNTAX.md b/SYNTAX.md index 2e5b074..6326f78 100644 --- a/SYNTAX.md +++ b/SYNTAX.md @@ -148,10 +148,10 @@ For example, using the following JSON: { "a": 4, "b": "0" }, { "a": 5, "b": 0 }, { "a": 6, "b": "1" }, - { "a": 7, "b": 1 } + { "a": 7, "b": 1 }, { "a": 8, "b": "true" }, - { "a": 9, "b": false } - { "a": 10, "b": null } + { "a": 9, "b": false }, + { "a": 10, "b": null }, { "a": 11 } ] } diff --git a/gjson_test.go b/gjson_test.go index 04d94b0..25d3ee0 100644 --- a/gjson_test.go +++ b/gjson_test.go @@ -2074,10 +2074,10 @@ func TestBoolConvertQuery(t *testing.T) { { "a": 4, "b": "0" }, { "a": 5, "b": 0 }, { "a": 6, "b": "1" }, - { "a": 7, "b": 1 } + { "a": 7, "b": 1 }, { "a": 8, "b": "true" }, - { "a": 9, "b": false } - { "a": 10, "b": null } + { "a": 9, "b": false }, + { "a": 10, "b": null }, { "a": 11 } ] }`