From 7ccda83497cc7af4f35f8d33c54eb89e77544db0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 8 Nov 2015 16:11:15 -0800 Subject: [PATCH] json/parser: can parse multiple objects --- json/parser/parser.go | 1 - 1 file changed, 1 deletion(-) diff --git a/json/parser/parser.go b/json/parser/parser.go index 450b875..b4ee36e 100644 --- a/json/parser/parser.go +++ b/json/parser/parser.go @@ -82,7 +82,6 @@ func (p *Parser) objectList() (*ast.ObjectList, error) { // Check for a followup comma. If it isn't a comma, then we're done if tok := p.scan(); tok.Type != token.COMMA { - p.unscan() break } }