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