WCF-Xtensions Class Reference for Mono
JToken Class Members
Properties  Methods 


The following tables list the members exposed by JToken.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)EqualityComparer Gets a comparer that can compare two tokens for value equality.  
Public PropertyFirst Get the first child token of this token.  
Public PropertyHasValues Gets a value indicating whether this token has child tokens.  
Public PropertyItemGets the JToken with the specified key.  
Public PropertyLast Get the last child token of this token.  
Public PropertyNext Gets the next sibling token of this node.  
Public PropertyParent Gets or sets the parent.  
Public PropertyPath Gets the path of the JSON token.  
Public PropertyPrevious Gets the previous sibling token of this node.  
Public PropertyRootGets the root JToken of this JToken.  
Public PropertyTypeGets the node type for this JToken.  
Top
Public Methods
 NameDescription
Public MethodAddAfterSelf Adds the specified content immediately after this token.  
Public MethodAddBeforeSelf Adds the specified content immediately before this token.  
Public MethodAfterSelf Returns a collection of the sibling tokens after this token, in document order.  
Public MethodAncestors Returns a collection of the ancestor tokens of this token.  
Public MethodBeforeSelf Returns a collection of the sibling tokens before this token, in document order.  
Public MethodChildrenOverloaded.  Returns a collection of the child tokens of this token, in document order.  
Public MethodCreateReaderCreates an Noemax.Newtonsoft.Json.JsonReader for this token.  
Public MethodDeepCloneCreates a new instance of the JToken. All child tokens are recursively cloned.  
Public Methodstatic (Shared in Visual Basic)DeepEquals Compares the values of two tokens, including the values of all descendant tokens.  
Public Methodstatic (Shared in Visual Basic)FromObjectOverloaded. Creates a JToken from an object.  
Public Methodstatic (Shared in Visual Basic)LoadCreates a JToken from a Noemax.Newtonsoft.Json.JsonReader.  
Public Methodstatic (Shared in Visual Basic)ParseLoad a JToken from a string that contains JSON.  
Public Methodstatic (Shared in Visual Basic)ReadFromCreates a JToken from a Noemax.Newtonsoft.Json.JsonReader.  
Public MethodRemove Removes this token from its parent.  
Public MethodReplace Replaces this token with the specified token.  
Public MethodSelectTokenOverloaded. Selects a JToken using a JPath expression. Selects the token that matches the object path.  
Public MethodSelectTokensOverloaded.  Selects a collection of elements using a JPath expression.  
Public MethodToObjectOverloaded. Creates the specified .NET type from the JToken.  
Public MethodToStringOverloaded.  Returns the indented JSON for this token.  
Public MethodValue<T>Gets the JToken with the specified key converted to the specified type.  
Public MethodValues<T> Returns a collection of the child values of this token, in document order.  
Public MethodWriteToWrites this token to a Noemax.Newtonsoft.Json.JsonWriter.  
Top
Protected Methods
 NameDescription
Protected MethodGetMetaObjectReturns the System.Dynamic.DynamicMetaObject responsible for binding operations performed on this object.  
Top
Public Operators
public Operator Explicit Type Conversion Overloaded. Performs an explicit conversion from JToken to System.Boolean.
public Operator Implicit Type Conversion Overloaded. Performs an implicit conversion from System.Int16 to JToken.
Top
See Also

Reference

JToken Class
Noemax.Newtonsoft.Json.Linq Namespace

Send Feedback