From 2321abb2d9cc69e17bfe02b858b16a1d02392da0 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Mon, 24 May 2021 13:40:02 -0700 Subject: [PATCH] api(dotnet): fix json api (#6723) --- docs/src/api/class-response.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/src/api/class-response.md b/docs/src/api/class-response.md index 2957758c51..defff7ec7f 100644 --- a/docs/src/api/class-response.md +++ b/docs/src/api/class-response.md @@ -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]>