Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion parsed_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ func (i *Iter) Object(dst *Object) (*Object, error) {
// An optional destination can be given.
func (i *Iter) Array(dst *Array) (*Array, error) {
if i.t != TagArrayStart {
return nil, errors.New("next item is not object")
return nil, errors.New("next item is not array")
}
end := i.cur
if uint64(len(i.tape.Tape)) < end {
Expand Down
Loading