パッケージ org.nkjmlab.util.jsonic
クラス JsonicMapper
- java.lang.Object
-
- org.nkjmlab.util.jsonic.JsonicMapper
-
- すべての実装されたインタフェース:
JsonMapper
public class JsonicMapper extends Object implements JsonMapper
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 JsonicMapper()
-
メソッドの概要
-
-
-
メソッドの詳細
-
getDefaultMapper
public static JsonicMapper getDefaultMapper()
-
toObject
public <T> T toObject(byte[] in, Class<T> clazz)- 定義:
toObjectインタフェース内JsonMapper
-
toObject
public <T> T toObject(String json, Class<T> clazz)
- 定義:
toObjectインタフェース内JsonMapper
-
toObject
public <T> T toObject(File in, Class<T> clazz)
- 定義:
toObjectインタフェース内JsonMapper
-
toObject
public <T> T toObject(Reader in, Class<T> clazz)
- 定義:
toObjectインタフェース内JsonMapper
-
toObject
public <T> T toObject(InputStream in, Class<T> clazz)
- 定義:
toObjectインタフェース内JsonMapper
-
toJson
public String toJson(Object obj)
- 定義:
toJsonインタフェース内JsonMapper
-
toJsonAndWrite
public void toJsonAndWrite(Object obj, File out, boolean prettyPrint)
- 定義:
toJsonAndWriteインタフェース内JsonMapper
-
toJsonAndWrite
public void toJsonAndWrite(Object obj, Writer out, boolean prettyPrint)
- 定義:
toJsonAndWriteインタフェース内JsonMapper
-
toJsonAndWrite
public void toJsonAndWrite(Object obj, OutputStream out, boolean prettyPrint)
- 定義:
toJsonAndWriteインタフェース内JsonMapper
-
toObject
public Object toObject(String json, Object hint)
- 定義:
toObjectインタフェース内JsonMapper
-
toObject
public Object toObject(String json, Type hint)
- 定義:
toObjectインタフェース内JsonMapper
-
toJson
public String toJson(Object obj, boolean prettyPrint)
- 定義:
toJsonインタフェース内JsonMapper
-
convertValue
public <T> T convertValue(Object fromValue, Class<T> toValueType)
- 定義:
convertValueインタフェース内JsonMapper
-
convertValue
public Type convertValue(Object fromValue, Type toValueType)
- 定義:
convertValueインタフェース内JsonMapper
-
toMap
public Map<String,Object> toMap(InputStream in)
- 定義:
toMapインタフェース内JsonMapper
-
toList
public List<Map<String,Object>> toList(InputStream in)
- 定義:
toListインタフェース内JsonMapper
-
-