C# Class IronRuby.JsonExt.Generator

Show file Open project: nrk/ironruby-json

Public Methods

Method Description
ToJson ( System.Boolean self ) : MutableString
ToJson ( ConversionStorage toS, IDictionary self, GeneratorState state, int depth ) : MutableString
ToJson ( Double self, GeneratorState state ) : MutableString
ToJson ( DynamicNull self ) : MutableString
ToJson ( Int32 self ) : MutableString
ToJson ( MutableString self ) : MutableString
ToJson ( RubyContext context, IList self, GeneratorState state, int depth ) : MutableString
ToJson ( RubyContext context, Object self ) : MutableString
ToJsonRaw ( IronRuby.Runtime.RubyScope scope, MutableString self ) : MutableString
ToJsonRawObject ( IronRuby.Runtime.RubyScope scope, MutableString self ) : Hash

Private Methods

Method Description
Transform ( ConversionStorage toS, IDictionary self, GeneratorState state, int depth ) : MutableString
Transform ( RubyContext context, IList self, GeneratorState state, int depth ) : MutableString

Method Details

ToJson() public static method

public static ToJson ( System.Boolean self ) : MutableString
self System.Boolean
return MutableString

ToJson() public static method

public static ToJson ( ConversionStorage toS, IDictionary self, GeneratorState state, int depth ) : MutableString
toS ConversionStorage
self IDictionary
state GeneratorState
depth int
return MutableString

ToJson() public static method

public static ToJson ( Double self, GeneratorState state ) : MutableString
self Double
state GeneratorState
return MutableString

ToJson() public static method

public static ToJson ( DynamicNull self ) : MutableString
self DynamicNull
return MutableString

ToJson() public static method

public static ToJson ( Int32 self ) : MutableString
self System.Int32
return MutableString

ToJson() public static method

public static ToJson ( MutableString self ) : MutableString
self MutableString
return MutableString

ToJson() public static method

public static ToJson ( RubyContext context, IList self, GeneratorState state, int depth ) : MutableString
context RubyContext
self IList
state GeneratorState
depth int
return MutableString

ToJson() public static method

public static ToJson ( RubyContext context, Object self ) : MutableString
context RubyContext
self Object
return MutableString

ToJsonRaw() public static method

public static ToJsonRaw ( IronRuby.Runtime.RubyScope scope, MutableString self ) : MutableString
scope IronRuby.Runtime.RubyScope
self MutableString
return MutableString

ToJsonRawObject() public static method

public static ToJsonRawObject ( IronRuby.Runtime.RubyScope scope, MutableString self ) : Hash
scope IronRuby.Runtime.RubyScope
self MutableString
return Hash