io.vertx.core.spi.json.JsonCodec Java Examples

The following examples show how to use io.vertx.core.spi.json.JsonCodec. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RegistrationManager.java    From servicecomb-java-chassis with Apache License 2.0 4 votes vote down vote up
private String getEndpoints(List<String> endpoints) {
  return JsonCodec.INSTANCE.toString(endpoints);
}
 
Example #2
Source File: JsonFactory.java    From vertx-circuit-breaker with Apache License 2.0 4 votes vote down vote up
@Override
public JsonCodec codec() {
  return new JacksonCodec();
}
 
Example #3
Source File: JsonFactory.java    From vertx-service-discovery with Apache License 2.0 4 votes vote down vote up
@Override
public JsonCodec codec() {
  return new JacksonCodec();
}
 
Example #4
Source File: JsonFactory.java    From vertx-config with Apache License 2.0 4 votes vote down vote up
@Override
public JsonCodec codec() {
  return new JacksonCodec();
}
 
Example #5
Source File: JSONBToJsonPojoConverter.java    From vertx-jooq with MIT License 4 votes vote down vote up
public JSONBToJsonPojoConverter(Class<U> userType, JsonCodec jsonCodec) {
    this.userType = userType;
    this.jsonCodec = jsonCodec;
}
 
Example #6
Source File: JSONBToJsonPojoConverter.java    From vertx-jooq with MIT License 4 votes vote down vote up
public JSONBToJsonPojoConverter(Class<U> userType) {
    this(userType,JsonCodec.INSTANCE);
}
 
Example #7
Source File: JSONToJsonPojoConverter.java    From vertx-jooq with MIT License 4 votes vote down vote up
public JSONToJsonPojoConverter(Class<U> userType, JsonCodec jsonCodec) {
    this.userType = userType;
    this.jsonCodec = jsonCodec;
}
 
Example #8
Source File: JSONToJsonPojoConverter.java    From vertx-jooq with MIT License 4 votes vote down vote up
public JSONToJsonPojoConverter(Class<U> userType) {
    this(userType,JsonCodec.INSTANCE);
}