Jsonator.EnumConversionMode
Constructor and Description |
---|
DefaultJsonator() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<Object,com.google.gson.JsonElement> |
convert() |
com.google.gson.JsonElement |
convert(Object object)
Creates a
JsonElement representation of a given object. |
com.google.gson.JsonElement |
convert(Object object,
Jsonator.EnumConversionMode enumConversionMode)
Creates a
JsonElement representation of a given object |
public com.google.gson.JsonElement convert(Object object)
Jsonator
JsonElement
representation of a given object.
Enums are converted to their names.public com.google.common.base.Function<Object,com.google.gson.JsonElement> convert()
public com.google.gson.JsonElement convert(Object object, Jsonator.EnumConversionMode enumConversionMode)
Jsonator
JsonElement
representation of a given objectCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.