パッケージ org.wcardinal.util.json
クラス Json
java.lang.Object
org.wcardinal.util.json.Json
-
フィールドの概要
フィールド修飾子とタイプフィールド説明static final com.fasterxml.jackson.databind.ObjectMapperstatic final com.fasterxml.jackson.databind.ObjectWriter -
メソッドの概要
修飾子とタイプメソッド説明static <T> Tconvert(com.fasterxml.jackson.databind.JsonNode fromValue, com.fasterxml.jackson.databind.JavaType type) static <T> Tstatic Stringstatic <T> Tstatic <T> Tstatic com.fasterxml.jackson.databind.JavaTypestatic com.fasterxml.jackson.databind.JavaTypestatic com.fasterxml.jackson.databind.JavaType
-
フィールド詳細
-
mapper
public static final com.fasterxml.jackson.databind.ObjectMapper mapper -
non_closing_writer
public static final com.fasterxml.jackson.databind.ObjectWriter non_closing_writer
-
-
メソッドの詳細
-
convert
-
convert
public static <T> T convert(com.fasterxml.jackson.databind.JsonNode fromValue, com.fasterxml.jackson.databind.JavaType type) -
convert
public static <T> T convert(String json, Class<T> type) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException - 例外:
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException
-
convert
public static <T> T convert(String json, com.fasterxml.jackson.databind.JavaType type) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException - 例外:
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException
-
convert
public static String convert(Object object) throws com.fasterxml.jackson.core.JsonProcessingException - 例外:
com.fasterxml.jackson.core.JsonProcessingException
-
typeOf
-
typeOf
-
typeOf
public static com.fasterxml.jackson.databind.JavaType typeOf(Class<?> baseType, com.fasterxml.jackson.databind.JavaType... types)
-