-
Notifications
You must be signed in to change notification settings - Fork 0
Will/parser restaurant exercise 26/04 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: json-parser-exercise
Are you sure you want to change the base?
Conversation
src/main/kotlin/restaurant.kt
Outdated
| package org.example | ||
| class Restaurant | ||
|
|
||
| fun main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pq tem essa função main aqui?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O nome do arquivo da classe deve começar com Letra maiúscula
src/main/kotlin/restaurant.kt
Outdated
| @@ -0,0 +1,29 @@ | |||
|
|
|||
| package org.example | |||
| class Restaurant | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tem 2 retaurant, a classe restaurant tem outro restaurant
src/main/restaurante.json
Outdated
| "neighborhood": "centro", | ||
| "state": "Minas Gerais" | ||
| }, | ||
| "workingHours": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isso tem que ser uma lista de objetos... e vc já sabe fazer isso, pq vc já fez
26/04