程序包 | 说明 |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
限定符和类型 | 方法和说明 |
---|---|
JsonSchema |
ObjectMapper.generateJsonSchema(Class<?> t)
Generate Json-schema
instance for specified class.
|
JsonSchema |
ObjectMapper.generateJsonSchema(Class<?> t,
SerializationConfig cfg)
Generate Json-schema
instance for specified class, using specific
serialization configuration
|
abstract JsonSchema |
SerializerProvider.generateJsonSchema(Class<?> type,
SerializationConfig config,
SerializerFactory jsf)
Generate Json-schema for
given type.
|
限定符和类型 | 方法和说明 |
---|---|
JsonSchema |
StdSerializerProvider.generateJsonSchema(Class<?> type,
SerializationConfig config,
SerializerFactory jsf) |