This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class Json
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class Json

The type exposes the following members.

Public Constructors

  Name Description
Public method Json Overloaded.

Public Methods

  Name Description
Public method AddProperty Overloaded.
Public method DeleteProperty
Deletes the property.
Public method Equals (Inherited from Object.)
Public method Exists
Checks if the specified property exists.
Public method GetByPosition
Gets the Json object at the given position.
Public method GetHashCode (Inherited from Object.)
Public method GetNameByPosition
Gets the property name at the given position.
Public method GetProperty
Gets the property.
Public method GetType (Inherited from Object.)
Public method GetTypedByPosition
Gets the Sxml-typed value at the given position.
Public method GetTypedProperty Overloaded.
Public method SetProperty Overloaded.
Public method ToString Overloaded.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field Static member returnNulls
Determines if the Json class returns null values or empty objects ("{}"). Publicly available for the Site object to pass the compatibility setting "JsonReturnsNulls"

Public Properties

  Name Description
Public property Length
Gets the number of properties on the JSON object.
Public property Type
Gets or sets the type of the JSON object.
Public property UseXmlDates
Determines how the Json object serializes dates. If true, an Xml DateTime literal is used, otherwise a JavaScript new Date constructor is used.

Explicit Interface Implementations

See Also

Smartsite.Base Namespace
Advanced