|
|
@ -314,16 +314,11 @@ func (t *parser) listItem(list []interface{}, i int) ([]interface{}, error) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Now we need to get the value after the ].
|
|
|
|
// Now we need to get the value after the ].
|
|
|
|
<<<<<<< HEAD
|
|
|
|
list2, err := t.listItem(crtList, nextI)
|
|
|
|
list2, err := t.listItem(crtList, i)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return list, err
|
|
|
|
return list, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return setIndex(list, i, list2)
|
|
|
|
return setIndex(list, i, list2)
|
|
|
|
=======
|
|
|
|
|
|
|
|
list2, err := t.listItem(crtList, nextI)
|
|
|
|
|
|
|
|
return setIndex(list, i, list2), err
|
|
|
|
|
|
|
|
>>>>>>> fix another extreme case
|
|
|
|
|
|
|
|
case last == '.':
|
|
|
|
case last == '.':
|
|
|
|
// We have a nested object. Send to t.key
|
|
|
|
// We have a nested object. Send to t.key
|
|
|
|
inner := map[string]interface{}{}
|
|
|
|
inner := map[string]interface{}{}
|
|
|
|