C# Class Weed.Json.JItem

Exibir arquivo Open project: noear/Weed3 Class Usage Examples

Public Methods

Method Description
Add ( ) : JDom
Add ( System.DateTime val ) : JItem
Add ( Enum val ) : JItem
Add ( System.Guid val ) : JItem
Add ( JDom obj ) : JItem
Add ( bool val ) : JItem
Add ( byte val ) : JItem
Add ( char val ) : JItem
Add ( decimal val ) : JItem
Add ( double val ) : JItem
Add ( float val ) : JItem
Add ( int val ) : JItem
Add ( long val ) : JItem
Add ( object val ) : JItem
Add ( sbyte val ) : JItem
Add ( short val ) : JItem
Add ( string val ) : JItem
Add ( uint val ) : JItem
Add ( ulong val ) : JItem
Add ( ushort val ) : JItem
AsArray ( ) : void

在数据为Null的时候,输出为数组

AsObject ( ) : void

在数据为Null的时候,输出为对象

AsProperty ( ) : void

在数据为Null的时候,输出为属性

ToJson ( ) : string
Val ( System.DateTime val ) : void
Val ( Enum val ) : void
Val ( System.Guid val ) : void
Val ( IEnumerable valList ) : void
Val ( IEnumerable array ) : void
Val ( IEnumerable array ) : void
Val ( IEnumerable array ) : void
Val ( IEnumerable array ) : void
Val ( JDom obj ) : void
Val ( bool val ) : void
Val ( byte val ) : void
Val ( char val ) : void
Val ( decimal val ) : void
Val ( double val ) : void
Val ( float val ) : void
Val ( int val ) : void
Val ( long val ) : void
Val ( object val ) : void
Val ( sbyte val ) : void
Val ( short val ) : void
Val ( string val ) : void
Val ( uint val ) : void
Val ( ulong val ) : void
Val ( ushort val ) : void
this ( string name ) : JItem

Private Methods

Method Description
DoAdd ( string val ) : void
WriteTo ( StringBuilder sb ) : void

Method Details

Add() public method

public Add ( ) : JDom
return JDom

Add() public method

public Add ( System.DateTime val ) : JItem
val System.DateTime
return JItem

Add() public method

public Add ( Enum val ) : JItem
val System.Enum
return JItem

Add() public method

public Add ( System.Guid val ) : JItem
val System.Guid
return JItem

Add() public method

public Add ( JDom obj ) : JItem
obj JDom
return JItem

Add() public method

public Add ( bool val ) : JItem
val bool
return JItem

Add() public method

public Add ( byte val ) : JItem
val byte
return JItem

Add() public method

public Add ( char val ) : JItem
val char
return JItem

Add() public method

public Add ( decimal val ) : JItem
val decimal
return JItem

Add() public method

public Add ( double val ) : JItem
val double
return JItem

Add() public method

public Add ( float val ) : JItem
val float
return JItem

Add() public method

public Add ( int val ) : JItem
val int
return JItem

Add() public method

public Add ( long val ) : JItem
val long
return JItem

Add() public method

public Add ( object val ) : JItem
val object
return JItem

Add() public method

public Add ( sbyte val ) : JItem
val sbyte
return JItem

Add() public method

public Add ( short val ) : JItem
val short
return JItem

Add() public method

public Add ( string val ) : JItem
val string
return JItem

Add() public method

public Add ( uint val ) : JItem
val uint
return JItem

Add() public method

public Add ( ulong val ) : JItem
val ulong
return JItem

Add() public method

public Add ( ushort val ) : JItem
val ushort
return JItem

AsArray() public method

在数据为Null的时候,输出为数组
public AsArray ( ) : void
return void

AsObject() public method

在数据为Null的时候,输出为对象
public AsObject ( ) : void
return void

AsProperty() public method

在数据为Null的时候,输出为属性
public AsProperty ( ) : void
return void

ToJson() public method

public ToJson ( ) : string
return string

Val() public method

public Val ( System.DateTime val ) : void
val System.DateTime
return void

Val() public method

public Val ( Enum val ) : void
val System.Enum
return void

Val() public method

public Val ( System.Guid val ) : void
val System.Guid
return void

Val() public method

public Val ( IEnumerable valList ) : void
valList IEnumerable
return void

Val() public method

public Val ( IEnumerable array ) : void
array IEnumerable
return void

Val() public method

public Val ( IEnumerable array ) : void
array IEnumerable
return void

Val() public method

public Val ( IEnumerable array ) : void
array IEnumerable
return void

Val() public method

public Val ( IEnumerable array ) : void
array IEnumerable
return void

Val() public method

public Val ( JDom obj ) : void
obj JDom
return void

Val() public method

public Val ( bool val ) : void
val bool
return void

Val() public method

public Val ( byte val ) : void
val byte
return void

Val() public method

public Val ( char val ) : void
val char
return void

Val() public method

public Val ( decimal val ) : void
val decimal
return void

Val() public method

public Val ( double val ) : void
val double
return void

Val() public method

public Val ( float val ) : void
val float
return void

Val() public method

public Val ( int val ) : void
val int
return void

Val() public method

public Val ( long val ) : void
val long
return void

Val() public method

public Val ( object val ) : void
val object
return void

Val() public method

public Val ( sbyte val ) : void
val sbyte
return void

Val() public method

public Val ( short val ) : void
val short
return void

Val() public method

public Val ( string val ) : void
val string
return void

Val() public method

public Val ( uint val ) : void
val uint
return void

Val() public method

public Val ( ulong val ) : void
val ulong
return void

Val() public method

public Val ( ushort val ) : void
val ushort
return void

this() public method

public this ( string name ) : JItem
name string
return JItem