クラス MapJsonSerializer

java.lang.ObjectSE
org.springframework.integration.ip.tcp.serializer.MapJsonSerializer
実装されているすべてのインターフェース:
Deserializer<MapSE<?,​?>>Serializer<MapSE<?,​?>>

public class MapJsonSerializer
extends ObjectSE
implements Serializer<MapSE<?,​?>>, Deserializer<MapSE<?,​?>>
MapSE を JSON として直列化します。JSON を MapSE に逆直列化します。デフォルトの JsonObjectMapperProvider.newInstance() は、setJsonObjectMapper(JsonObjectMapper) を使用してオーバーライドできます。

JSON デシリアライザーは、複数の JSON オブジェクトを区切ることはできません。別の(デ)シリアライザーを使用して、ストリームに構造を適用します。デフォルトでは、これは単純な ByteArrayLfSerializer であり、メッセージ間に LF(0x0a)を挿入 / 予期します。

導入:
3.0
作成者:
Gary Russell, Artem Bilan