| JTokenFromObject Method (Object) |
Creates a
JToken from an object.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public static JToken FromObject(
Object o
)
Parameters
- o
- Type: SystemObject
The object that will be used to create JToken.
Return Value
Type:
JTokenA
JToken with the value of the specified object.
See Also