Skip to content

Data Types

dYAML uses a powerfull serialization system for converting Java objects to and from YAML. The supported data types are:

Primitives
  • byte
  • short
  • int
  • long
  • float
  • double
  • char
  • boolean
Primitive Wrappers
  • Byte
  • Short
  • Integer
  • Long
  • Float
  • Double
  • Character
  • Boolean
Lists
  • List<Byte>
  • List<Short>
  • List<Integer>
  • List<Long>
  • List<Float>
  • List<Double>
  • List<Character>
  • List<Boolean>
  • List<String>
  • List<Serializable>
  • List<Enum>
  • List<Record>
Sets
  • Set<Byte>
  • Set<Short>
  • Set<Integer>
  • Set<Long>
  • Set<Float>
  • Set<Double>
  • Set<Character>
  • Set<Boolean>
  • Set<String>
  • Set<Serializable>
  • Set<Enum>
  • Set<Record>
Maps
  • Map<String, Byte>
  • Map<String, Short>
  • Map<String, Integer>
  • Map<String, Long>
  • Map<String, Float>
  • Map<String, Double>
  • Map<String, Character>
  • Map<String, Boolean>
  • Map<String, String>
  • Map<String, Serializable>
  • Map<String, Enum>
  • Map<String, Record>

Released under the GPL-3.0 License.