Search Results for

    Show / Hide Table of Contents

    Class JsonWriter

    Simple Json writer for XML. Allows to save XML in Json format

    Inheritance
    System.Object
    XmlWriter
    JsonWriter
    Inherited Members
    XmlWriter.autoIndent
    XmlWriter.isWriteHeader
    XmlWriter.writer
    XmlWriter.encoding
    XmlWriter.indent
    XmlWriter.AutoIndent
    XmlWriter.IsWriteHeader
    XmlWriter.Write(String)
    XmlWriter.WriteLn(String)
    XmlWriter.Dup(Int32)
    XmlWriter.WriteProps(StringBuilder, XmlItem, Int32)
    XmlWriter.Write(XmlItem)
    Namespace: FastReport.BG.Utils
    Assembly: FastReport.BG.dll
    Syntax
    public class JsonWriter : XmlWriter

    Constructors

    JsonWriter(Stream, Encoding)

    JsonWriter constructor.

    Declaration
    public JsonWriter(Stream stream, Encoding encoding)
    Parameters
    Type Name Description
    System.IO.Stream stream
    System.Text.Encoding encoding

    JsonWriter(TextWriter)

    JsonWriter constructor.

    Declaration
    public JsonWriter(TextWriter textWriter)
    Parameters
    Type Name Description
    System.IO.TextWriter textWriter

    Methods

    DoWrite(XmlItem, Int32)

    Write items.

    Declaration
    protected override void DoWrite(XmlItem rootItem, int level)
    Parameters
    Type Name Description
    XmlItem rootItem
    System.Int32 level
    Overrides
    XmlWriter.DoWrite(XmlItem, Int32)

    WriteHeader()

    Write Header

    Declaration
    protected override void WriteHeader()
    Overrides
    XmlWriter.WriteHeader()

    WriteItem(XmlItem, Int32)

    Write item.

    Declaration
    protected override void WriteItem(XmlItem item, int level)
    Parameters
    Type Name Description
    XmlItem item
    System.Int32 level
    Overrides
    XmlWriter.WriteItem(XmlItem, Int32)

    WriteProps(XmlItem, Int32)

    Write porps.

    Declaration
    protected void WriteProps(XmlItem item, int level)
    Parameters
    Type Name Description
    XmlItem item
    System.Int32 level
    Back to top © 2021-2022 Copyright Fast Reports Inc.