MΓ³dulo 03 Β· Kotlin for Real Apps: Serialization & Coroutines β LecciΓ³n 1 de 4 Β· ~11 min
JSON & @Serializable
The language your app and backend share
PawWalk's Android app and its Python backend are two separate programs. 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: