Export (0) Print
Expand All

JsonValue Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The JsonValue type exposes the following members.

  Name Description
Public method AsDynamic Returns the Json value as a dynamic object.
Public method Static member CastValue<T> Specifies the cast value of the JsonValue.
Public method ContainsKey Throws an InvalidOperationException.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can iterate through the JsonValue.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetKeyValuePairEnumerator Gets the key value pair enumerator for the JsonValue.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue(Int32) Gets the Json value with specified index.
Public method GetValue(String) Gets the Json value with specified key.
Public method Static member Load(Stream) Deserializes the text-based JSON from a stream into JSON CLR type.
Public method Static member Load(TextReader) Deserializes the text-based JSON from a text reader into a JSON CLR type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSaveEnded Occurs when the save is ended.
Protected method OnSaveStarted Occurs when the save is started.
Public method Static member Parse Deserializes the text-based JSON into a JSON CLR type.
Protected method RaiseChangedEvent Raises the Changed event.
Protected method RaiseChangingEvent Raises the Changing event.
Public method ReadAs(Type) Reads the Jsonvalue with specified type.
Public method ReadAs(Type, Object) Reads the Jsonvalue with specified type.
Public method ReadAs<T>() Reads the JsonValue as an object.
Public method ReadAs<T>(T) Reads the JsonValue as an object with specified fallback.
Public method Save(Stream) Serializes the JsonValue CLR type into text-based JSON using a stream.
Public method Save(TextWriter) Serializes the JsonValue CLR type into text-based JSON using a text writer.
Public method SetValue(Int32, Object) Sets the Json value with specified index and value.
Public method SetValue(String, Object) Sets the Json value with specified key and value.
Public method ToString Saves (serializes) this JSON CLR type into text-based JSON. (Overrides Object.ToString().)
Public method TryReadAs(Type, Object) Indicates whether the JsonValue tries to read as type.
Public method TryReadAs<T>(T) Indicates whether the JsonValue tries to read as a generic type.
Public method ValueOrDefault(Int32) Specifies the value or the default value of the Json object with specified index.
Public method ValueOrDefault(Object[]) Specifies the value or the default value of the Json object with specified indexes.
Public method ValueOrDefault(String) Specifies the value or the default value of the Json object with specified key.
Top

  Name Description
Public Extension Method ReadAsType(Type) Overloaded. Reads the JsonValueExtensions as a type with specified value. (Defined by JsonValueExtensions.)
Public Extension Method ReadAsType<T>() Overloaded. Reads the JsonValueExtensions as an object. (Defined by JsonValueExtensions.)
Public Extension Method ReadAsType<T>(T) Overloaded. Reads the JsonValueExtensions as an object with specified fallback. (Defined by JsonValueExtensions.)
Public Extension Method ToJsonObject Converts the specified items to Json object. (Defined by JsonValueLinqExtensions.)
Public Extension Method TryReadAsType(Type, Object) Overloaded. Tries to read the JsonValueExtensions as a type. (Defined by JsonValueExtensions.)
Public Extension Method TryReadAsType<T>(T) Overloaded. Tries to read the JsonValueExtensions as a generic type. (Defined by JsonValueExtensions.)
Top
Show:
© 2014 Microsoft