/** * Create options from some JSON * * @param json the JSON */ public ClientOptionsBase(JsonObject json) { super(json); init(); ClientOptionsBaseConverter.fromJson(json, this); }
/** * Convert to JSON * * @return the JSON */ public JsonObject toJson() { JsonObject json = super.toJson(); ClientOptionsBaseConverter.toJson(this, json); return json; }
static void toJson(ClientOptionsBase obj, JsonObject json) { toJson(obj, json.getMap()); }
/** * Create options from some JSON * * @param json the JSON */ public ClientOptionsBase(JsonObject json) { super(json); init(); ClientOptionsBaseConverter.fromJson(json, this); }
/** * Convert to JSON * * @return the JSON */ public JsonObject toJson() { JsonObject json = super.toJson(); ClientOptionsBaseConverter.toJson(this, json); return json; }
static void toJson(ClientOptionsBase obj, JsonObject json) { toJson(obj, json.getMap()); }