isScalar implements the JSON interface.
()
| 708 | |
| 709 | // isScalar implements the JSON interface. |
| 710 | func (j *jsonEncoded) isScalar() bool { |
| 711 | return j.typ != ArrayJSONType && j.typ != ObjectJSONType |
| 712 | } |
| 713 | |
| 714 | func (j *jsonEncoded) Len() int { |
| 715 | if j.typ != ArrayJSONType && j.typ != ObjectJSONType { |
no outgoing calls
no test coverage detected