N - - 予想される JSON ノードの型。P - - 予想される JSON パーサーの型。public interface JsonObjectMapper<N,P>| 修飾子と型 | メソッドと説明 |
|---|---|
default <T> T | fromJson(ObjectSE json, ClassSE<T> valueType) |
default <T> T | fromJson(ObjectSE json, MapSE<StringSE, ObjectSE> javaTypes) |
default <T> T | fromJson(ObjectSE json, ResolvableType valueType)JSON を予想される ResolvableType に逆直列化します。 |
default <T> T | fromJson(P parser, TypeSE valueType) |
default void | populateJavaTypes(MapSE<StringSE, ObjectSE> map, ObjectSE object) |
default StringSE | toJson(ObjectSE value) |
default void | toJson(ObjectSE value, WriterSE writer) |
default N | toJsonNode(ObjectSE value) |
default StringSE toJson(ObjectSE value) throws IOExceptionSE
default void toJson(ObjectSE value, WriterSE writer) throws IOExceptionSE
default N toJsonNode(ObjectSE value) throws IOExceptionSE
default <T> T fromJson(ObjectSE json, ClassSE<T> valueType) throws IOExceptionSE
default <T> T fromJson(ObjectSE json, ResolvableType valueType) throws IOExceptionSE
ResolvableType に逆直列化します。T - 予想されるオブジェクト型 json - デシリアライズする JSONvalueType - ターゲットオブジェクトの ResolvableType。IOExceptionSE - JSON 解析の例外 default <T> T fromJson(ObjectSE json, MapSE<StringSE,ObjectSE> javaTypes) throws IOExceptionSE
default <T> T fromJson(P parser, TypeSE valueType) throws IOExceptionSE