Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8752389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:13:33+00:00 2026-06-13T13:13:33+00:00

Is there a list of JSON objects that will certainly be present when working

  • 0

Is there a list of JSON objects that will certainly be present when working with the Google Places API service? I assume “geometry” , “location”, and “name” will always be returned in the JSON page, but I just found out the hard way that “opening_hours” is only present for certain locations. I need to add extra try catch blocks for entries that are not guaranteed to be present. Anyone have info on which entries are or aren’t guaranteed?

I just fixed a bug in my android app that was caused because I was trying to call an object that was only present for some (but not all) of the entries in the Google Places API. Would rather not add extra try catches where I don’t need them…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:13:34+00:00Added an answer on June 13, 2026 at 1:13 pm

    None of the results in the results array are guaranteed to be returned as mentioned in the documentation:

    “Each result within the results array may contain the following fields”

    However, all the parameters except opening_hours, events[] and rating should be returned.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a list of items on the web that you should not use
There's a list of objects, each object representing a record from a database. To
I want to build a service that will pass the data read from the
I'm trying to parse a JSON object that consists of an array of objects.
Currently I am working on the implementation of TMDb API . There is a
There is list <nodes> <node attr='1'/> <node attr='0'/> <node attr='1'/> <node attr='1'/> </nodes> i
Is there a list of them with examples accessible to a person without extensive
Is there a list of reserved memory addresses out there - a list of
Is there a list of the differences between the various versions of Rails somewhere
Is there a list of COM error codes somewhere? Related: HRESULT: 0x80010105 (RPC_E_SERVERFAULT) question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.