/** * Create options from JSON * * @param json the JSON */ public ProtonLinkOptions(JsonObject json) { ProtonLinkOptionsConverter.fromJson(json, this); }
/** * Convert to JSON * * @return the JSON */ public JsonObject toJson() { JsonObject json = new JsonObject(); ProtonLinkOptionsConverter.toJson(this, json); return json; }
static void toJson(ProtonLinkOptions obj, JsonObject json) { toJson(obj, json.getMap()); }