Gets a Newtonsoft JSON object representation of this Response.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Field Value
A Newtonsoft JSON object representation of this Response.Exceptions
Exception | Condition |
---|---|
System Exception | Unable to convert response into a JSON object |
Examples
using Newtonsoft.Json.Linq; ... Response response = request.Send(); Newtonsoft.Json.Linq.JObject jsonObject = response.ContentAsJson; foreach (KeyValuePair<string, Newtonsoft.Json.Linq.JToken> item in jsonObject) { WriteMessage(String.Format("Key: {0}, value: {1}", item.Key, item.Value)); }
See Also