io.vertx.up.uca.serialization.JsonObjectSaber Maven / Gradle / Ivy
package io.vertx.up.uca.serialization;
import io.vertx.core.json.JsonObject;
import java.util.LinkedHashMap;
import java.util.function.Function;
/**
* JsonObject
*/
@SuppressWarnings("unchecked")
public class JsonObjectSaber extends JsonSaber {
@Override
protected boolean isValid(final Class> paramType) {
return JsonObject.class == paramType || LinkedHashMap.class == paramType;
}
@Override
protected Function getFun() {
return JsonObject::new;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy