C# Class JsonFx.Client.JsonMarkupWriter

An EcmaScriptWriter which also generates a markup version of the data.
Inheritance: JsonFx.Json.EcmaScriptWriter
Show file Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Public Methods

Method Description
JsonMarkupWriter ( Stream output, TextWriter markupWriter ) : System

Ctor

JsonMarkupWriter ( StringBuilder output, TextWriter markupWriter ) : System

Ctor

JsonMarkupWriter ( TextWriter markupWriter ) : System

Ctor

JsonMarkupWriter ( TextWriter output, TextWriter markupWriter ) : System

Ctor

JsonMarkupWriter ( string outputFileName, TextWriter markupWriter ) : System

Ctor

Write ( DateTime value ) : void
Write ( Enum value ) : void
Write ( Guid value ) : void
Write ( TimeSpan value ) : void
Write ( Uri value ) : void
Write ( Version value ) : void
Write ( XmlNode value ) : void
Write ( bool value ) : void
Write ( byte value ) : void
Write ( char value ) : void
Write ( decimal value ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( sbyte value ) : void
Write ( short value ) : void
Write ( string value ) : void
Write ( uint value ) : void
Write ( ulong value ) : void
Write ( ushort value ) : void
WriteBase64 ( byte value ) : void
WriteHexString ( byte value ) : void

Protected Methods

Method Description
Write ( object value, bool isProperty ) : void
WriteArray ( IEnumerable value ) : void
WriteArrayItem ( object item ) : void
WriteArrayItemDelim ( ) : void
WriteDictionary ( IEnumerable value ) : void
WriteLine ( ) : void
WriteObject ( IDictionary value ) : void
WriteObject ( object value, Type type ) : void
WriteObjectPropertyDelim ( ) : void
WriteObjectPropertyName ( string name ) : void
WriteObjectPropertyValue ( object value ) : void

Private Methods

Method Description
MarkupWriteLine ( ) : void

Method Details

JsonMarkupWriter() public method

Ctor
public JsonMarkupWriter ( Stream output, TextWriter markupWriter ) : System
output Stream Stream for data
markupWriter System.IO.TextWriter
return System

JsonMarkupWriter() public method

Ctor
public JsonMarkupWriter ( StringBuilder output, TextWriter markupWriter ) : System
output StringBuilder StringBuilder for data
markupWriter System.IO.TextWriter
return System

JsonMarkupWriter() public method

Ctor
public JsonMarkupWriter ( TextWriter markupWriter ) : System
markupWriter System.IO.TextWriter
return System

JsonMarkupWriter() public method

Ctor
public JsonMarkupWriter ( TextWriter output, TextWriter markupWriter ) : System
output System.IO.TextWriter TextWriter for data
markupWriter System.IO.TextWriter
return System

JsonMarkupWriter() public method

Ctor
public JsonMarkupWriter ( string outputFileName, TextWriter markupWriter ) : System
outputFileName string
markupWriter System.IO.TextWriter
return System

Write() public method

public Write ( DateTime value ) : void
value DateTime
return void

Write() public method

public Write ( Enum value ) : void
value Enum
return void

Write() public method

public Write ( Guid value ) : void
value Guid
return void

Write() public method

public Write ( TimeSpan value ) : void
value TimeSpan
return void

Write() public method

public Write ( Uri value ) : void
value Uri
return void

Write() public method

public Write ( Version value ) : void
value Version
return void

Write() public method

public Write ( XmlNode value ) : void
value XmlNode
return void

Write() public method

public Write ( bool value ) : void
value bool
return void

Write() public method

public Write ( byte value ) : void
value byte
return void

Write() public method

public Write ( char value ) : void
value char
return void

Write() public method

public Write ( decimal value ) : void
value decimal
return void

Write() public method

public Write ( double value ) : void
value double
return void

Write() public method

public Write ( float value ) : void
value float
return void

Write() public method

public Write ( int value ) : void
value int
return void

Write() public method

public Write ( long value ) : void
value long
return void

Write() protected method

protected Write ( object value, bool isProperty ) : void
value object
isProperty bool
return void

Write() public method

public Write ( sbyte value ) : void
value sbyte
return void

Write() public method

public Write ( short value ) : void
value short
return void

Write() public method

public Write ( string value ) : void
value string
return void

Write() public method

public Write ( uint value ) : void
value uint
return void

Write() public method

public Write ( ulong value ) : void
value ulong
return void

Write() public method

public Write ( ushort value ) : void
value ushort
return void

WriteArray() protected method

protected WriteArray ( IEnumerable value ) : void
value IEnumerable
return void

WriteArrayItem() protected method

protected WriteArrayItem ( object item ) : void
item object
return void

WriteArrayItemDelim() protected method

protected WriteArrayItemDelim ( ) : void
return void

WriteBase64() public method

public WriteBase64 ( byte value ) : void
value byte
return void

WriteDictionary() protected method

protected WriteDictionary ( IEnumerable value ) : void
value IEnumerable
return void

WriteHexString() public method

public WriteHexString ( byte value ) : void
value byte
return void

WriteLine() protected method

protected WriteLine ( ) : void
return void

WriteObject() protected method

protected WriteObject ( IDictionary value ) : void
value IDictionary
return void

WriteObject() protected method

protected WriteObject ( object value, Type type ) : void
value object
type Type
return void

WriteObjectPropertyDelim() protected method

protected WriteObjectPropertyDelim ( ) : void
return void

WriteObjectPropertyName() protected method

protected WriteObjectPropertyName ( string name ) : void
name string
return void

WriteObjectPropertyValue() protected method

protected WriteObjectPropertyValue ( object value ) : void
value object
return void