use of org.apache.servicecomb.demo.RestObjectMapperWithStringMapperNotWriteNull in project java-chassis by ServiceComb.
the class JaxrsClient method init.
public static void init() throws Exception {
BeanUtils.init();
RestObjectMapperFactory.setDefaultRestObjectMapper(new RestObjectMapperWithStringMapper());
RestObjectMapperFactory.setConsumerWriterMapper(new RestObjectMapperWithStringMapperNotWriteNull());
}
use of org.apache.servicecomb.demo.RestObjectMapperWithStringMapperNotWriteNull in project java-chassis by ServiceComb.
the class JaxrsServer method main.
public static void main(String[] args) throws Exception {
RestObjectMapperFactory.setDefaultRestObjectMapper(new RestObjectMapperWithStringMapper());
RestObjectMapperFactory.setConsumerWriterMapper(new RestObjectMapperWithStringMapperNotWriteNull());
BeanUtils.init();
}
use of org.apache.servicecomb.demo.RestObjectMapperWithStringMapperNotWriteNull in project incubator-servicecomb-java-chassis by apache.
the class JaxrsServer method main.
public static void main(String[] args) throws Exception {
RestObjectMapperFactory.setDefaultRestObjectMapper(new RestObjectMapperWithStringMapper());
RestObjectMapperFactory.setConsumerWriterMapper(new RestObjectMapperWithStringMapperNotWriteNull());
BeanUtils.init();
}
Aggregations