This website uses cookies to ensure you get the best experience.
Learn more.
An API returns {"enabled":true,"ports":[1,2]}. Which statement correctly interprets this JSON?
Published
- enabled is a Boolean and ports is an array
- Both enabled and ports are strings
- The document is invalid because true must be quoted
- enabled is a string and ports is an object
Comments — 0
Sign in to comment