Class DefaultJsonSerializerConfigurator
A default JSON serializer configurator.
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Kephas.Serialization.ServiceStack.Text
Assembly: Kephas.Serialization.ServiceStack.Text.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultJsonSerializerConfigurator : Loggable, ILoggable, IJsonSerializerConfiguratorConstructors
| Improve this Doc View SourceDefaultJsonSerializerConfigurator(ITypeResolver, ICollection<IExportFactory<ITypeJsonSerializer, TypeJsonSerializerMetadata>>)
Initializes a new instance of the DefaultJsonSerializerConfigurator class.
Declaration
public DefaultJsonSerializerConfigurator(ITypeResolver typeResolver, ICollection<IExportFactory<ITypeJsonSerializer, TypeJsonSerializerMetadata>> typeSerializerFactories = null)Parameters
| Type | Name | Description | 
|---|---|---|
| ITypeResolver | typeResolver | The type resolver. | 
| System.Collections.Generic.ICollection<IExportFactory<ITypeJsonSerializer, TypeJsonSerializerMetadata>> | typeSerializerFactories | Optional. The type serializer factories. | 
Properties
| Improve this Doc View SourceTypeAttr
Gets or sets the type attribute.
Declaration
public string TypeAttr { get; protected set; }Property Value
| Type | Description | 
|---|---|
| System.String | The type attribute. | 
TypeResolver
Gets the type resolver.
Declaration
public ITypeResolver TypeResolver { get; }Property Value
| Type | Description | 
|---|---|
| ITypeResolver | The type resolver. | 
Methods
| Improve this Doc View SourceConfigureJsonSerialization(Boolean)
Configures the JSON serialization.
Declaration
public virtual bool ConfigureJsonSerialization(bool overwrite = false)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | overwrite | True to overwrite the configuration, false to preserve it (optional). | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the configuration was changed, false otherwise. |