@Override
  public Object internalRead(final Object obj1, final BInputJson bin) throws BException {
    final FindOptions obj =
        (FindOptions) (obj1 != null ? obj1 : bin.onObjectCreated(new FindOptions()));

    final BJsonObject js = bin.currentObject;
    obj.reserved = js.getString("reserved");

    return obj;
  }
  @Override
  public Object internalRead(final Object obj1, final BInputJson bin) throws BException {
    final BRequest_RemotePrimitiveTypes_setByte obj =
        (BRequest_RemotePrimitiveTypes_setByte)
            (obj1 != null
                ? obj1
                : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_setByte()));

    final BJsonObject js = bin.currentObject;
    obj.v = js.getByte("v");

    return obj;
  }
  @Override
  public Object internalRead(final Object obj1, final BInputJson bin) throws BException {
    final BRequest_FileSystemService_readAllText obj =
        (BRequest_FileSystemService_readAllText)
            (obj1 != null
                ? obj1
                : bin.onObjectCreated(new BRequest_FileSystemService_readAllText()));

    final BJsonObject js = bin.currentObject;
    obj.path = js.getString("path");

    return obj;
  }
 public Object read(final Object obj1, final BInput bin1, final long version) throws BException {
   final BInputJson bin = (BInputJson) bin1;
   final BJsonObject js = bin.currentObject;
   final Set<String> keys = js.keys();
   final HashMap<java.lang.Double, java.lang.Byte> map =
       new HashMap<java.lang.Double, java.lang.Byte>(keys.size());
   bin.onObjectCreated(map);
   for (String keyName : keys) {
     java.lang.Double key =
         keyName != null && keyName.length() != 0 ? Double.parseDouble(keyName) : 0.0;
     final java.lang.Byte value = js.getByte(keyName);
     map.put(key, value);
   }
   return map;
 }
 public Object read(final Object obj1, final BInput bin1, final long version) throws BException {
   final BInputJson bin = (BInputJson) bin1;
   final BJsonObject js = bin.currentObject;
   final Set<String> keys = js.keys();
   final TreeMap<java.lang.Float, java.lang.Character> map =
       new TreeMap<java.lang.Float, java.lang.Character>();
   bin.onObjectCreated(map);
   for (String keyName : keys) {
     java.lang.Float key =
         keyName != null && keyName.length() != 0 ? Float.parseFloat(keyName) : 0.0f;
     final java.lang.Character value = js.getChar(keyName);
     map.put(key, value);
   }
   return map;
 }
  @Override
  public Object internalRead(final BInputJson bin) throws BException {
    final BJsonObject js1 = bin.currentObject;

    int n1 = 0, n0 = 0;
    n1 = js1 != null ? js1.size() : 0;
    if (n1 != 0) {
      final BJsonObject js0 = js1.getJsonObject(0);
      n0 = js0 != null ? js0.size() : 0;
    }

    final byps.test.api.prim.PrimitiveTypes[][] arr = new byps.test.api.prim.PrimitiveTypes[n1][n0];
    bin.onObjectCreated(arr);

    // read
    final byps.test.api.prim.PrimitiveTypes[][] a1 = arr;
    for (int i1 = 0; i1 < n1; i1++) {
      final byps.test.api.prim.PrimitiveTypes[] a0 = a1[i1];
      bin.currentObject = js1.getJsonObject(i1);
      for (int i0 = 0; i0 < n0; i0++) {
        a0[i0] = (byps.test.api.prim.PrimitiveTypes) bin.readObj(i0, false, null);
      }
    }
    return arr;
  }