import PureYAML public extension PureYAML.JSON.Convert { /// A reason a YAML <-> JSON conversion did not complete. enum Failure: Error, Equatable, Sendable { /// The source text did not parse. case sourceInvalid(String) /// The value cannot be represented in the target format. case notRepresentable([PureYAML.Validation.ValidationError]) /// The emitted output did not parse back to the source value. case roundTripMismatch(PureYAML.JSON.Format) } }