Web API
Response.json()
Read and parse a response body as JSON; the returned promise can reject.
Formal Syntax & Structure
react syntaxreact
await response.json()Working Example
Example Snippetreact
const value = await response.json();Read and parse a response body as JSON; the returned promise can reject.
await response.json()const value = await response.json();