Back to Website
Show / Hide Table of Contents

Class ProductSerializer

Inheritance
System.Object
ProductSerializer
Implements
IProductSerializer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Serialization.Json.Product
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ProductSerializer : IProductSerializer

Constructors

ProductSerializer(IConfiguration, ProductJsonConverter)

Declaration
public ProductSerializer(IConfiguration configuration, ProductJsonConverter productJsonConverter)
Parameters
Type Name Description
IConfiguration configuration
ProductJsonConverter productJsonConverter

Methods

Deserialize(JObject)

Declaration
public Product Deserialize(JObject json)
Parameters
Type Name Description
Newtonsoft.Json.Linq.JObject json
Returns
Type Description
Product

Deserialize(String)

Declaration
public Product Deserialize(string json)
Parameters
Type Name Description
System.String json
Returns
Type Description
Product

DeserializeItem(String)

Declaration
public Item DeserializeItem(string json)
Parameters
Type Name Description
System.String json
Returns
Type Description
Item

Serialize(Product)

Declaration
public string Serialize(Product product)
Parameters
Type Name Description
Product product
Returns
Type Description
System.String

SerializeItem(Item)

Declaration
public string SerializeItem(Item modelComponent)
Parameters
Type Name Description
Item modelComponent
Returns
Type Description
System.String

Implements

IProductSerializer
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback