---
title: prettyPrinted
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/jsonencoder/outputformatting-swift.struct/prettyprinted
---

# prettyPrinted

The output formatting option that uses ample white space and indentation to make output easy to read.

## Declaration

```swift
static let prettyPrinted: JSONEncoder.OutputFormatting
```

## See Also

### Formatting Output

- [sortedKeys](foundation/jsonencoder/outputformatting-swift.struct/sortedkeys.md)
- [withoutEscapingSlashes](foundation/jsonencoder/outputformatting-swift.struct/withoutescapingslashes.md)
