Json.NET - Quick Starts & API Documentation
JValue Class
NamespacesNewtonsoft.Json.LinqJValue
Represents a value in JSON (string, integer, date, etc).
Declaration Syntax
C#Visual BasicVisual C++
public class JValue : JToken
Public Class JValue _
	Inherits JToken
public ref class JValue : public JToken
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
JValue(JValue)
Initializes a new instance of the JValue class from another JValue object.

JValue(Int64)
Initializes a new instance of the JValue class with the given value.

JValue(UInt64)
Initializes a new instance of the JValue class with the given value.

JValue(Double)
Initializes a new instance of the JValue class with the given value.

JValue(DateTime)
Initializes a new instance of the JValue class with the given value.

JValue(Boolean)
Initializes a new instance of the JValue class with the given value.

JValue(String)
Initializes a new instance of the JValue class with the given value.

JValue(Object)
Initializes a new instance of the JValue class with the given value.

AfterSelf()()()
Returns a collection of the sibling tokens after this token, in document order.
(Inherited from JToken.)
Ancestors()()()
Returns a collection of the ancestor tokens of this token.
(Inherited from JToken.)
BeforeSelf()()()
Returns a collection of the sibling tokens before this token, in document order.
(Inherited from JToken.)
Children()()()
Returns a collection of the child tokens of this token, in document order.
(Inherited from JToken.)
CreateComment(String)
Creates a JValue comment with the given value.

CreateString(String)
Creates a JValue string with the given value.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
First
Get the first child token of this token.
(Inherited from JToken.)
GetEnumerator()()()
Returns an enumerator that iterates through a collection.
(Inherited from JToken.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HasValues
Gets a value indicating whether this token has childen tokens.
(Overrides JToken.HasValues.)
Item[([(Object])])
Gets the JToken with the specified key.
(Inherited from JToken.)
Last
Get the last child token of this token.
(Inherited from JToken.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Next
Gets the next sibling token of this node.
(Inherited from JToken.)
Parent
Gets or sets the parent.
(Inherited from JToken.)
Previous
Gets the previous sibling token of this node.
(Inherited from JToken.)
Remove()()()
Removes this token from its parent.
(Inherited from JToken.)
Replace(JToken)
Replaces this token with the specified token.
(Inherited from JToken.)
Root
Gets the root JToken of this JToken.
(Inherited from JToken.)
ToString()()()
Returns the indented JSON for this token.
(Inherited from JToken.)
Type
Gets the node type for this JToken.
(Overrides JToken.Type.)
Value
Gets or sets the underlying token value.

Value<(Of <(T>)>)(Object)
Gets the JToken with the specified key converted to the specified type.
(Inherited from JToken.)
Values<(Of <(T>)>)()()()
Returns a collection of the child values of this token, in document order.
(Inherited from JToken.)
WriteTo(JsonWriter, array<JsonConverter>[]()[])
Writes this token to a JsonWriter.
(Overrides JToken.WriteTo(JsonWriter, array<JsonConverter>[]()[]).)
Inheritance Hierarchy
Object
JToken
 JValue

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 3.0.0.0 (3.0.0.0)