(byte[] utf8)
| 277 | // Need below check in both fromJSON methods since |
| 278 | // utf8.length returns a NPE without this check. |
| 279 | if (utf8 == null || utf8.length == 0) { |
| 280 | return Map.of(); |
| 281 | } |
| 282 | return fromJSON(utf8, 0, utf8.length); |
| 283 | } |
| 284 | |
| 285 | public static Object fromJSON(byte[] utf8, int offset, int length) { |
| 286 | return fromJSON(utf8, offset, length, STANDARDOBJBUILDER); |
| 287 | } |
| 288 | |
| 289 | public static Object fromJSON( |