Concat implements the JSON interface.
(other JSON)
| 649 | |
| 650 | // Concat implements the JSON interface. |
| 651 | func (j *jsonEncoded) Concat(other JSON) (JSON, error) { |
| 652 | decoded, err := j.shallowDecode() |
| 653 | if err != nil { |
| 654 | return nil, err |
| 655 | } |
| 656 | return decoded.Concat(other) |
| 657 | } |
| 658 | |
| 659 | // RemoveString implements the JSON interface. |
| 660 | func (j *jsonEncoded) RemoveString(s string) (JSON, bool, error) { |
nothing calls this directly
no test coverage detected