Json.NET - Quick Starts & API Documentation
DeserializeXNode Method (value, deserializeRootElementName, writeArrayAttribute)
Namespaces ► Newtonsoft.Json ► JsonConvert ► DeserializeXNode(String, String, Boolean)
Deserializes the XNode from a JSON string nested in a root elment.


- value (String)
- The JSON string.
- deserializeRootElementName (String)
- The name of the root element to append when deserializing.
- writeArrayAttribute (Boolean)
- A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON.

The deserialized XNode