Skip to content

Will/parser restaurant exercise 26/04#6

Open
Willfreity wants to merge 7 commits intojson-parser-exercisefrom
will/parser-restaurant-exercise
Open

Will/parser restaurant exercise 26/04#6
Willfreity wants to merge 7 commits intojson-parser-exercisefrom
will/parser-restaurant-exercise

Conversation

@Willfreity
Copy link
Copy Markdown
Contributor

26/04

Comment thread src/main/kotlin/restaurant.kt Outdated
package org.example
class Restaurant

fun main() {
Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor

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

Comment thread src/main/kotlin/restaurant.kt Outdated
@@ -0,0 +1,29 @@

package org.example
class Restaurant
Copy link
Copy Markdown
Contributor

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

Comment thread src/main/restaurante.json Outdated
"neighborhood": "centro",
"state": "Minas Gerais"
},
"workingHours": {
Copy link
Copy Markdown
Contributor

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

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.

2 participants