Const
alias for Response.json.
Response.json
The json() static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json.
json()
Response
application/json
MDN Reference
Optional
alias for
Response.json.