C# Class Secs4Net.Json.JsonExtension

Datei anzeigen Open project: mkjeff/secs4net

Public Methods

Method Description
ToItem ( this json ) : System.Item
ToJson ( this msg ) : string
ToSecsMessage ( this jsonString ) : SecsMessage
ToSecsMessages ( this reader ) : SecsMessage[]
WriteTo ( this msg, JsonTextWriter jwtr ) : void
WriteTo ( this msg, TextWriter writer ) : void

Method Details

ToItem() public static method

public static ToItem ( this json ) : System.Item
json this
return System.Item

ToJson() public static method

public static ToJson ( this msg ) : string
msg this
return string

ToSecsMessage() public static method

public static ToSecsMessage ( this jsonString ) : SecsMessage
jsonString this
return SecsMessage

ToSecsMessages() public static method

public static ToSecsMessages ( this reader ) : SecsMessage[]
reader this
return SecsMessage[]

WriteTo() public static method

public static WriteTo ( this msg, JsonTextWriter jwtr ) : void
msg this
jwtr Newtonsoft.Json.JsonTextWriter
return void

WriteTo() public static method

public static WriteTo ( this msg, TextWriter writer ) : void
msg this
writer System.IO.TextWriter
return void