Classes

The following classes are available globally.

  • Constructors are used to translate Nodes to Swift values.

    See more

    Declaration

    Swift

    public final class Constructor
  • Codable-style Decoder that can be used to decode a Decodable type from a given String and optional user info mapping. Similar to Foundation.JSONDecoder.

    See more

    Declaration

    Swift

    public class YAMLDecoder
    extension YAMLDecoder: TopLevelDecoder
  • Class responsible for emitting libYAML events.

    See more

    Declaration

    Swift

    public final class Emitter
  • Codable-style Encoder that can be used to encode an Encodable type to a YAML string using optional user info mapping. Similar to Foundation.JSONEncoder.

    See more

    Declaration

    Swift

    public class YAMLEncoder
  • Parses YAML strings.

    See more

    Declaration

    Swift

    public final class Parser
  • Class used to resolve nodes to tags based on customizable rules.

    See more

    Declaration

    Swift

    public final class Resolver
  • Tag

    Tags describe the the type of a Node.

    See more

    Declaration

    Swift

    public final class Tag
    extension Tag: CustomStringConvertible
    extension Tag: Hashable