Package io.floodplain.immutable.json
Class ImmutableJSON
- java.lang.Object
-
- io.floodplain.immutable.json.ImmutableJSON
-
public class ImmutableJSON extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.node.ObjectNodejson(io.floodplain.immutable.api.ImmutableMessage msg)static byte[]jsonSerializer(io.floodplain.immutable.api.ImmutableMessage msg, boolean includeNullValues, boolean includeTypes)static java.lang.StringndJson(io.floodplain.immutable.api.ImmutableMessage msg)static com.fasterxml.jackson.databind.node.ObjectNodetoJSON(io.floodplain.immutable.api.ImmutableMessage msg, boolean includeNullValues, boolean includeTypes)
-
-
-
Method Detail
-
json
public static com.fasterxml.jackson.databind.node.ObjectNode json(io.floodplain.immutable.api.ImmutableMessage msg)
-
ndJson
public static java.lang.String ndJson(io.floodplain.immutable.api.ImmutableMessage msg) throws java.io.IOException- Throws:
java.io.IOException
-
jsonSerializer
public static byte[] jsonSerializer(io.floodplain.immutable.api.ImmutableMessage msg, boolean includeNullValues, boolean includeTypes)
-
toJSON
public static com.fasterxml.jackson.databind.node.ObjectNode toJSON(io.floodplain.immutable.api.ImmutableMessage msg, boolean includeNullValues, boolean includeTypes)
-
-