Interface IProductSerializer
Namespace: Aurigma.DesignAtoms.Serialization.Json.Product
Assembly: Aurigma.DesignAtoms.dll
Syntax
public interface IProductSerializer
Methods
Serialize
string Serialize(Product product)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Product | product |
Returns
System.String
Deserialize
Product Deserialize(string json)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | json |
Returns
Aurigma.DesignAtoms.Model.Product
Deserialize
Product Deserialize(JObject json)
Parameters
| Type | Name | Description |
|---|---|---|
Newtonsoft.Json.Linq.JObject | json |
Returns
Aurigma.DesignAtoms.Model.Product
SerializeItem
string SerializeItem(Item modelComponent)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.Item | modelComponent |
Returns
System.String
DeserializeItem
Item DeserializeItem(string json)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | json |