JSON & Codable

The language your app and backend share

PawWalk's iPhone app and its Python backend are two separate programs, possibly written years apart by different people. They agree on exactly one thing: the shape of the JSON they send each other.

JSON (JavaScript Object Notation) is plain text for structured data. An object is { } with "key": value pairs inside; values can be strings, numbers, true/false, null, arrays [ ], or nested objects. That's the whole format.

Here's a real walker, exactly as the backend sends it when the app asks for the walkers list: