(other JSON)
| 61 | } |
| 62 | |
| 63 | func (j jsonArray) slowContains(other JSON) bool { |
| 64 | other = other.MaybeDecode() |
| 65 | if ary, ok := other.(jsonArray); ok { |
| 66 | for i := 0; i < len(ary); i++ { |
| 67 | found := false |
| 68 | for k := 0; k < len(j); k++ { |
| 69 | if j[k].Type() == ary[i].Type() && j[k].(containsTester).slowContains(ary[i]) { |
| 70 | found = true |
| 71 | break |
| 72 | } |
| 73 | } |
| 74 | if !found { |
| 75 | return false |
| 76 | } |
| 77 | } |
| 78 | return true |
| 79 | } |
| 80 | return false |
| 81 | } |
| 82 | |
| 83 | func (j jsonObject) slowContains(other JSON) bool { |
| 84 | other = other.MaybeDecode() |
nothing calls this directly
no test coverage detected