diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2024-03-24 19:18:58 +0000 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2024-03-24 19:18:58 +0000 |
commit | 81dcb87b2158f625ca10a20df5a93a42bbcaf26b (patch) | |
tree | 24d80db1428e5a61d2d96d9c929eaa82b1e40b92 /json/read.go | |
parent | 0e4179fabbd0a66826f1375dae86ca7f681fb29d (diff) | |
download | stred-go-81dcb87b2158f625ca10a20df5a93a42bbcaf26b.tar |
Implements helper function navigateTo in json/write.go
Diffstat (limited to 'json/read.go')
-rw-r--r-- | json/read.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/json/read.go b/json/read.go index 8ed7e96..f3a0a65 100644 --- a/json/read.go +++ b/json/read.go @@ -42,10 +42,8 @@ func NewJSONReader(reader *bufio.Reader) *JSONReader { } } -type PathSegment interface {} - type JSONReader struct { - path []PathSegment + path []walk.PathSegment structure []JSONReaderStructure state JSONReaderState reader *bufio.Reader |