| JsonConvertDeserializeXNode Method (String, String) |
Deserializes the
XNode from a JSON string nested in a root element specified by
deserializeRootElementName.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public static XDocument DeserializeXNode(
string value,
string deserializeRootElementName
)
Parameters
- value
- Type: SystemString
The JSON string. - deserializeRootElementName
- Type: SystemString
The name of the root element to append when deserializing.
Return Value
Type:
XDocumentThe deserialized
XNode.
See Also