RemoveIndex implements the JSON interface.
(idx int)
| 640 | |
| 641 | // RemoveIndex implements the JSON interface. |
| 642 | func (j *jsonEncoded) RemoveIndex(idx int) (JSON, bool, error) { |
| 643 | decoded, err := j.shallowDecode() |
| 644 | if err != nil { |
| 645 | return nil, false, err |
| 646 | } |
| 647 | return decoded.RemoveIndex(idx) |
| 648 | } |
| 649 | |
| 650 | // Concat implements the JSON interface. |
| 651 | func (j *jsonEncoded) Concat(other JSON) (JSON, error) { |
nothing calls this directly
no test coverage detected