quicktype generates types and code to read, write, and validate the data.

let data = MyData . fromJson ( '{ "people": [ { "name": "Olivia" } ] }' ) for person in data . people { print ( person . name ) person . highScore ++ } highScore may be undefined

Use the code for easy parsing,

type safety, and autocompletion.