Skip to content

Parse Restaurante JSON to Kotlin Object#1

Open
VitorlFigueiredo wants to merge 3 commits intojson-parser-exercisefrom
vitaoDaMassa
Open

Parse Restaurante JSON to Kotlin Object#1
VitorlFigueiredo wants to merge 3 commits intojson-parser-exercisefrom
vitaoDaMassa

Conversation

@VitorlFigueiredo
Copy link
Copy Markdown

Create a json file with the fields mentioned in the problem description and combine them into the restaurant class using the GSON dependency

@roubertedgar roubertedgar changed the title First commit Parse Restaurante JSON to Kotlin Object Mar 5, 2024
…re as classes Restaurants e CoffeeShop, usando o conceito de polimorfismo para resolver o problema. Criei também uma função prettyPrint que verifica qual classe é, e exibi na tela conforme pedido.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant