Skip to content
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

added Restaurant class and JSON parsing capabilities in GooglePlaces … #10

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

nancywang197
Copy link
Collaborator

GooglePlaces API returns search results as a JSON. I included a JSON parser and created a Restaurant class to store restaurant information to make the data more readable and accessible. I modified the GooglePlaces Controller and the GooglePlaces Service to have return types of List instead of JSON strings.

@nyssaaftab nyssaaftab marked this pull request as ready for review October 18, 2024 04:28
@nyssaaftab
Copy link
Collaborator

good idea to return the list rather than the json, I think it'll make it easier to work with. i can get started with building out the restaurant class

@nyssaaftab nyssaaftab merged commit c5ae53c into backend Oct 18, 2024
1 check passed
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