Package org.yaml.snakeyaml.representer
Class JsonRepresenter
- java.lang.Object
-
- org.yaml.snakeyaml.representer.BaseRepresenter
-
- org.yaml.snakeyaml.representer.SafeRepresenter
-
- org.yaml.snakeyaml.representer.Representer
-
- org.yaml.snakeyaml.representer.JsonRepresenter
-
public class JsonRepresenter extends Representer
Represent data structures into Nodes in the way suitable for serialisation as JSON
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classJsonRepresenter.RepresentByteArrayJSON does not have support for binary data.protected classJsonRepresenter.RepresentDateUse the provided serialisation but emit as string-
Nested classes/interfaces inherited from class org.yaml.snakeyaml.representer.Representer
Representer.RepresentJavaBean
-
Nested classes/interfaces inherited from class org.yaml.snakeyaml.representer.SafeRepresenter
SafeRepresenter.RepresentArray, SafeRepresenter.RepresentBoolean, SafeRepresenter.RepresentEnum, SafeRepresenter.RepresentIterator, SafeRepresenter.RepresentList, SafeRepresenter.RepresentMap, SafeRepresenter.RepresentNull, SafeRepresenter.RepresentNumber, SafeRepresenter.RepresentPrimitiveArray, SafeRepresenter.RepresentSet, SafeRepresenter.RepresentString, SafeRepresenter.RepresentUuid
-
-
Field Summary
-
Fields inherited from class org.yaml.snakeyaml.representer.Representer
typeDefinitions
-
Fields inherited from class org.yaml.snakeyaml.representer.SafeRepresenter
classTags, nonPrintableStyle, timeZone
-
Fields inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
defaultFlowStyle, defaultScalarStyle, multiRepresenters, nullRepresenter, objectToRepresent, representedObjects, representers
-
-
Constructor Summary
Constructors Constructor Description JsonRepresenter(DumperOptions options)
-
Method Summary
-
Methods inherited from class org.yaml.snakeyaml.representer.Representer
addTypeDescription, checkGlobalTag, getProperties, representJavaBean, representJavaBeanProperty, setPropertyUtils
-
Methods inherited from class org.yaml.snakeyaml.representer.SafeRepresenter
addClassTag, getTag, getTimeZone, setTimeZone
-
Methods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
getDefaultFlowStyle, getDefaultScalarStyle, getPropertyUtils, isExplicitPropertyUtils, represent, representData, representMapping, representScalar, representScalar, representSequence, setDefaultFlowStyle, setDefaultScalarStyle
-
-
-
-
Constructor Detail
-
JsonRepresenter
public JsonRepresenter(DumperOptions options)
-
-