public class SerializerUtils extends Object
| Constructor and Description |
|---|
SerializerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
serializeHashJson(com.fasterxml.jackson.core.JsonGenerator gen,
Hash hash) |
static void |
serializeHashXml(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator toXmlGenerator,
Hash hash) |
static void |
serializeProperty(String propertyName,
Property prop,
com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator xmlGenerator) |
static boolean |
shouldSerializeField(Object obj,
Version version,
String fieldName) |
static void |
writeField(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
String fieldName,
Object fieldValue) |
public static void serializeHashXml(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator toXmlGenerator,
Hash hash)
throws IOException
IOExceptionpublic static void serializeHashJson(com.fasterxml.jackson.core.JsonGenerator gen,
Hash hash)
throws IOException
IOExceptionpublic static boolean shouldSerializeField(Object obj, Version version, String fieldName)
public static void serializeProperty(String propertyName, Property prop, com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator xmlGenerator) throws IOException
IOExceptionpublic static void writeField(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
String fieldName,
Object fieldValue)
throws IOException
IOExceptionCopyright © 2017–2025 OWASP Foundation. All rights reserved.