<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/json/read.go
diff options
context:
space:
mode:
Diffstat (limited to 'json/read.go')
-rw-r--r--json/read.go4
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