RemoveIndex implements the JSON interface.
(idx int)
| 654 | |
| 655 | // RemoveIndex implements the JSON interface. |
| 656 | func (j *jsonEncoded) RemoveIndex(idx int) (JSON, bool, error) { |
| 657 | decoded, err := j.shallowDecode() |
| 658 | if err != nil { |
| 659 | return nil, false, err |
| 660 | } |
| 661 | return decoded.RemoveIndex(idx) |
| 662 | } |
| 663 | |
| 664 | // Concat implements the JSON interface. |
| 665 | func (j *jsonEncoded) Concat(other JSON) (JSON, error) { |
nothing calls this directly
no test coverage detected