Quiz 12 Question 8 of 20

A parks department builds a small service that turns shelter-reservation requests into a JSON record for its booking system. The prompt asks for JSON only, but roughly one response in six begins with a line such as 'Here is the JSON you requested:' before the object, which breaks the downstream parser. Which technique most directly guarantees the response begins as JSON?

Select an answer to reveal the explanation.

Motivation