Skip to content

Type Property

prettyPrinted

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
The output formatting option that uses ample white space and indentation to make output easy to read.
static let prettyPrinted: JSONEncoder.OutputFormatting