GetElemCount gets the count of Object or Array.
()
| 284 | |
| 285 | // GetElemCount gets the count of Object or Array. |
| 286 | func (bj BinaryJSON) GetElemCount() int { |
| 287 | return int(jsonEndian.Uint32(bj.Value)) |
| 288 | } |
| 289 | |
| 290 | // ArrayGetElem gets the element of the index `idx`. |
| 291 | func (bj BinaryJSON) ArrayGetElem(idx int) BinaryJSON { |
no outgoing calls