Dela via


HttpExtensions.ToJson Method

Definition

Overloads

ToJson(IDictionary<String,IEnumerable<String>>)
ToJson(HttpHeaders)

ToJson(IDictionary<String,IEnumerable<String>>)

public static Newtonsoft.Json.Linq.JObject ToJson (this System.Collections.Generic.IDictionary<string,System.Collections.Generic.IEnumerable<string>> headers);
static member ToJson : System.Collections.Generic.IDictionary<string, seq<string>> -> Newtonsoft.Json.Linq.JObject
<Extension()>
Public Function ToJson (headers As IDictionary(Of String, IEnumerable(Of String))) As JObject

Parameters

Returns

Newtonsoft.Json.Linq.JObject

Applies to

ToJson(HttpHeaders)

public static Newtonsoft.Json.Linq.JObject ToJson (this System.Net.Http.Headers.HttpHeaders headers);
static member ToJson : System.Net.Http.Headers.HttpHeaders -> Newtonsoft.Json.Linq.JObject
<Extension()>
Public Function ToJson (headers As HttpHeaders) As JObject

Parameters

headers
HttpHeaders

Returns

Newtonsoft.Json.Linq.JObject

Applies to