RemoveIndex implements the JSON interface.
(idx int)
| 682 | |
| 683 | // RemoveIndex implements the JSON interface. |
| 684 | func (j *jsonEncoded) RemoveIndex(idx int) (JSON, bool, error) { |
| 685 | decoded, err := j.shallowDecode() |
| 686 | if err != nil { |
| 687 | return nil, false, err |
| 688 | } |
| 689 | return decoded.RemoveIndex(idx) |
| 690 | } |
| 691 | |
| 692 | // Concat implements the JSON interface. |
| 693 | func (j *jsonEncoded) Concat(other JSON) (JSON, error) { |
nothing calls this directly
no test coverage detected