- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- APIs
- IFrame API
- Web API
- Design Atoms Framework
- What's New?
- Design Atoms Framework Overview
- Creating Applications with Design Atoms Framework
- Working with the Object Model
- Groups of Design Elements
- Using Dependency Injection
- Loading Templates
- Saving Products
- Rendering Products
- Reference
- Aurigma.DesignAtoms.Common Namespace
- Aurigma.DesignAtoms.Common.Math Namespace
- Aurigma.DesignAtoms.Configuration Namespace
- Aurigma.DesignAtoms.Configuration.RenderingConfig Namespace
- Aurigma.DesignAtoms.Convert Namespace
- Aurigma.DesignAtoms.Licensing Namespace
- Aurigma.DesignAtoms.Model Namespace
- Aurigma.DesignAtoms.Model.CustomData Namespace
- Aurigma.DesignAtoms.Model.Items Namespace
- Aurigma.DesignAtoms.Rendering Namespace
- Aurigma.DesignAtoms.Serialization Namespace
- Aurigma.DesignAtoms.Serialization.Json.Product Namespace
- UI Framework
- Dynamic Image API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.
ProductJsonConverter Constructor
Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation
Initializes a new instance of the ProductJsonConverter class.
Namespace:
Aurigma.DesignAtoms.Serialization
Assembly:
Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
Syntax
C#
public ProductJsonConverter(
IConfiguration configuration,
ILogger ccLogger,
IFontService fontService,
IFontSubstitutionService fontSubstitutionService,
IFileCache fileCache,
IImageLoader imageLoader,
IColorManagement colorManagement,
ILifetimeScope scope,
ISerializableStorage serializationStorage,
ISerializableStorage runTimeStorage,
bool convertUrlSourcesToStorage,
JsonSerializerSettings jsonSerializerSettings
)
Parameters
- configuration
- ccLogger
-
Type: ILogger
- fontService
-
Type: IFontService
- fontSubstitutionService
-
Type: IFontSubstitutionService
- fileCache
-
Type: IFileCache
- imageLoader
-
Type: IImageLoader
- colorManagement
- scope
-
Type: ILifetimeScope
- serializationStorage
-
Type: ISerializableStorage
- runTimeStorage
-
Type: ISerializableStorage
- convertUrlSourcesToStorage
-
Type: System.Boolean
- jsonSerializerSettings
-
Type: JsonSerializerSettings
Examples
You can create an instance of this class by using dependency injection.
C#
using Aurigma.DesignAtoms.Configuration;
Injector.CurrentFactory = () => DefaultInjectorFactory.Create();
var serializer = Injector.Instance.Resolve<ProductJsonConverter>();