aboutsummaryrefslogtreecommitdiff
path: root/parser/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'parser/parser.go')
-rw-r--r--parser/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/parser.go b/parser/parser.go
index 222e4c0..dfcd4b4 100644
--- a/parser/parser.go
+++ b/parser/parser.go
@@ -8,7 +8,7 @@ import (
"go.neonxp.dev/json/model"
)
-func Parse(json string) (*model.Node, error) {
+func Parse(json string) (model.Node, error) {
l := newLexer(json)
go l.Run(initJson)
n, err := parse(l.Output)