(a Type, b Type)
| 636 | func (j jsonObject) tryDecode() (JSON, error) { return j, nil } |
| 637 | |
| 638 | func cmpJSONTypes(a Type, b Type) int { |
| 639 | if b > a { |
| 640 | return -1 |
| 641 | } |
| 642 | if b < a { |
| 643 | return 1 |
| 644 | } |
| 645 | return 0 |
| 646 | } |
| 647 | |
| 648 | // isEmptyArray returns true if j is a JSON array with length 0. |
| 649 | func isEmptyArray(j JSON) bool { |
no outgoing calls
no test coverage detected
searching dependent graphs…