api(dotnet): fix json api (#6723)

This commit is contained in:
Pavel Feldman 2021-05-24 13:40:02 -07:00 committed by GitHub
parent adf87fe9c6
commit 2321abb2d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,21 @@ Returns the [Frame] that initiated this response.
Returns the object with HTTP headers associated with the response. All header names are lower-case.
## async method: Response.json
* langs: csharp, js, python
* langs: js, python
- returns: <[Serializable]>
Returns the JSON representation of response body.
This method will throw if the response body is not parsable via `JSON.parse`.
## async method: Response.json
* langs: csharp
- returns: <[JsonDocument]>
Returns the JSON representation of response body.
This method will throw if the response body is not parsable via `JSON.parse`.
## method: Response.ok
- returns: <[boolean]>