C# Class Example.Car

Inheritance: IJSONSerializable
Show file Open project: jabb/IronJSON Class Usage Examples

Public Properties

Property Type Description
color string
name string
wheels int

Public Methods

Method Description
Car ( string name, string color, int wheels, string owner ) : System
JSONDeserialize ( JSONDeserializer deser ) : void
JSONSerialize ( JSONSerializer ser ) : void

Method Details

Car() public method

public Car ( string name, string color, int wheels, string owner ) : System
name string
color string
wheels int
owner string
return System

JSONDeserialize() public method

public JSONDeserialize ( JSONDeserializer deser ) : void
deser IronJSON.JSONDeserializer
return void

JSONSerialize() public method

public JSONSerialize ( JSONSerializer ser ) : void
ser IronJSON.JSONSerializer
return void

Property Details

color public property

public string color
return string

name public property

public string name
return string

wheels public property

public int wheels
return int