Package google.registry.model
Class EntityYamlUtils
java.lang.Object
google.registry.model.EntityYamlUtils
A collection of static utility classes/functions to convert entities to/from YAML files.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A custom JSON deserializer for aCreateAutoTimestamp
.static class
A custom JSON deserializer forCurrencyUnit
.static class
A custom JSON serializer forCurrencyUnit
.static class
A custom JSON serializer for aDuration
object.static class
A custom JSON deserializer forMoney
.static class
A custom JSON serializer forMoney
.static class
A custom JSON serializer for an Optional of aDuration
object.static class
A custom JSON serializer for an Optional String.static class
A custom serializer for Enum Set to sort the order and make YAML generation deterministic.static class
A custom serializer for String Set to sort the order and make YAML generation deterministic.static class
A custom JSON deserializer for aTimedTransitionProperty
ofFeatureFlag.FeatureStatus
.static class
A custom JSON deserializer for aTimedTransitionProperty
ofMoney
.static class
A custom JSON serializer for aTimedTransitionProperty
ofEnum
values.static class
A custom JSON deserializer for aTimedTransitionProperty
ofTld.TldState
.static class
A custom JSON deserializer for a list ofAllocationToken
VKeys.static class
A custom JSON serializer for a list ofAllocationToken
VKeys. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
Returns a newObjectMapper
object that can be used to convert an entity to/from YAML.
-
Constructor Details
-
EntityYamlUtils
public EntityYamlUtils()
-
-
Method Details
-
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()Returns a newObjectMapper
object that can be used to convert an entity to/from YAML.
-