Class DefaultYamlSerializer<CLASS extends IBoundObject>

java.lang.Object
dev.metaschema.databind.io.AbstractSerializer<CLASS>
dev.metaschema.databind.io.json.DefaultJsonSerializer<CLASS>
dev.metaschema.databind.io.yaml.DefaultYamlSerializer<CLASS>
Type Parameters:
CLASS - the Java type of the bound object to serialize
All Implemented Interfaces:
IConfiguration<SerializationFeature<?>>, IMutableConfiguration<SerializationFeature<?>>, ISerializer<CLASS>

public class DefaultYamlSerializer<CLASS extends IBoundObject> extends DefaultJsonSerializer<CLASS>
Serializes bound Java objects to YAML content.
  • Constructor Details

    • DefaultYamlSerializer

      public DefaultYamlSerializer(@NonNull IBoundDefinitionModelAssembly definition)
      Construct a new YAML serializer that will generate YAML content based on data in the bound class identified by the classBinding.
      Parameters:
      definition - the bound class information for the Java type this serializer is operating on
  • Method Details