Example #1
0
 @SuppressWarnings("unchecked")
 public static final <T> T parseObject(byte[] input, Type clazz, Feature... features) {
   return (T)
       parseObject(input, 0, input.length, ThreadLocalCache.getUTF8Decoder(), clazz, features);
 }
Example #2
0
 public static final Object parse(byte[] input, Feature... features) {
   return parse(input, 0, input.length, ThreadLocalCache.getUTF8Decoder(), features);
 }