Swift You and I
A blog about SwiftUI and related Apple ecosystem technologies

Real-Time JSON: Observe the codable object

Source code | Run it in the app

Alter some of the form’s values to see the JSON representation update in real time.

Now edit some values directly on the JSON and see the UI controls reflect these changes immediately.

NOTE: Be sure not to change the content’s structure and only modify values, not keys.