/** * Creates a new {@link HttpLocation} from the given json object * * @param json the json object */ public HttpLocation(JsonObject json) { this(); HttpLocationConverter.fromJson(json, this); }
/** * @return a json representation of the current {@link HttpLocation}. */ public JsonObject toJson() { JsonObject json = new JsonObject(); HttpLocationConverter.toJson(this, json); return json; }
/** * @return a json representation of the current {@link HttpLocation}. */ public JsonObject toJson() { JsonObject json = new JsonObject(); HttpLocationConverter.toJson(this, json); return json; }
/** * Creates a new {@link HttpLocation} from the given json object * * @param json the json object */ public HttpLocation(JsonObject json) { this(); HttpLocationConverter.fromJson(json, this); }
public static void toJson(HttpLocation obj, JsonObject json) { toJson(obj, json.getMap()); }
public static void toJson(HttpLocation obj, JsonObject json) { toJson(obj, json.getMap()); }