FormUrlEncodedJson.Parse Method (IEnumerable<KeyValuePair<String, String>>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Parses a collection of query string values as a JsonObject.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
nameValuePairs As IEnumerable(Of KeyValuePair(Of String, String)) _
) As JsonObject
public static JsonObject Parse(
IEnumerable<KeyValuePair<string, string>> nameValuePairs
)
public:
static JsonObject^ Parse(
IEnumerable<KeyValuePair<String^, String^>>^ nameValuePairs
)
static member Parse :
nameValuePairs:IEnumerable<KeyValuePair<string, string>> -> JsonObject
public static function Parse(
nameValuePairs : IEnumerable<KeyValuePair<String, String>>
) : JsonObject
Parameters
- nameValuePairs
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
The collection of query string name-value pairs parsed in lexical order. Both names and values must be un-escaped so that they do not contain any Uri encoding.
Return Value
Type: System.Json.JsonObject
The JsonObject corresponding to the given query string values.
Remarks
This is a low-level API intended for use by other APIs. It has been optimized for performance and is not intended to be called directly from user code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.