Class ProductCatalogPersistModel
Describe some fields to save product catalog as file.
Inheritance
ProductCatalogPersistModel
Assembly: UDP.dll
Syntax
public class ProductCatalogPersistModel
Constructors
ProductCatalogPersistModel()
Declaration
public ProductCatalogPersistModel()
Fields
products
Declaration
public List<ProductInfo> products
Field Value
udpVersion
Declaration
Field Value
Methods
Deserialize(string)
Deserialize, string to object.
Declaration
public static ProductCatalogPersistModel Deserialize(string catalogJson)
Parameters
Type |
Name |
Description |
string |
catalogJson |
|
Returns
FromTextAsset(TextAsset)
Deserialize from text asset.
Declaration
public static ProductCatalogPersistModel FromTextAsset(TextAsset asset)
Parameters
Returns
Serialize(ProductCatalogPersistModel)
Serialize method. object to string.
Declaration
public static string Serialize(ProductCatalogPersistModel catalog)
Parameters
Returns