@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;
  }
 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;
 }