Method FromTextAsset
FromTextAsset(TextAsset)
Deserializes the catalog from a text asset.
Declaration
public static ProductCatalog FromTextAsset(TextAsset asset)
Parameters
| Type | Name | Description |
|---|---|---|
| TextAsset | asset | The text asset. |
Returns
| Type | Description |
|---|---|
| ProductCatalog | The deserialized Prodcut Catalog. |