Search Results for

    Show / Hide Table of Contents

    Class JsonObject

    Represents JSON object.

    Inheritance
    System.Object
    JsonBase
    JsonObject
    Inherited Members
    JsonBase.Item[Int32]
    JsonBase.IsArray
    JsonBase.FromString(String)
    JsonBase.ToString()
    Namespace: FastReport.Utils.Json
    Assembly: FastReport.Base.dll
    Syntax
    public class JsonObject : JsonBase, IEnumerable<KeyValuePair<string, object>>, IEnumerable

    Properties

    Count

    Gets the number of keys.

    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    JsonBase.Count

    IsObject

    Returns true.

    Declaration
    public override bool IsObject { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    JsonBase.IsObject

    Item[String]

    Gets or sets an object with specified key.

    Declaration
    public override object this[string key] { get; set; }
    Parameters
    Type Name Description
    System.String key

    The key.

    Property Value
    Type Description
    System.Object

    The object.

    Overrides
    JsonBase.Item[String]

    Keys

    Gets the list of keys.

    Declaration
    public override IEnumerable<string> Keys { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>
    Overrides
    JsonBase.Keys

    Methods

    ContainsKey(String)

    Determines whether the dictionary contains the specified key.

    Declaration
    public override bool ContainsKey(string key)
    Parameters
    Type Name Description
    System.String key

    The key.

    Returns
    Type Description
    System.Boolean

    true if the dictionary contains a specified key.

    Overrides
    JsonBase.ContainsKey(String)

    DeleteKey(String)

    Deletes a specified key.

    Declaration
    public bool DeleteKey(string key)
    Parameters
    Type Name Description
    System.String key

    The key.

    Returns
    Type Description
    System.Boolean

    true if the key was found and removed succesfully.

    GetEnumerator()

    Gets enumerator for this object.

    Declaration
    public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.Object>>

    An enumerator.

    WriteTo(StringBuilder, Int32)

    Writes the content to specified string builder.

    Declaration
    public override void WriteTo(StringBuilder sb, int indent)
    Parameters
    Type Name Description
    System.Text.StringBuilder sb

    The string builder instance.

    System.Int32 indent

    The indent.

    Overrides
    JsonBase.WriteTo(StringBuilder, Int32)
    Back to top © 1998-2026 Copyright Fast Reports Inc.