Skip to main content

JsConfigScope

Assembly: ServiceStack.Text.dll
View Source
Declaration
public sealed class JsConfigScope : Config, IDisposable

Inherited Properties

AlwaysUseUtc

View Source
Declaration
public bool AlwaysUseUtc { get; set; }

AppendUtcOffset

View Source
Declaration
public bool AppendUtcOffset { get; set; }

AssumeUtc

View Source
Declaration
public bool AssumeUtc { get; set; }

ConvertObjectTypesIntoStringDictionary

View Source
Declaration
public bool ConvertObjectTypesIntoStringDictionary { get; set; }

DateHandler

View Source
Declaration
public DateHandler DateHandler { get; set; }

DateTimeFormat

View Source
Declaration
public string DateTimeFormat { get; set; }

Defaults

View Source
Declaration
public static Config Defaults { get; }

EmitCamelCaseNames

View Source
Declaration
[Obsolete("Use TextCase = TextCase.CamelCase")]
public bool EmitCamelCaseNames { get; set; }

EmitLowercaseUnderscoreNames

View Source
Declaration
[Obsolete("Use TextCase = TextCase.SnakeCase")]
public bool EmitLowercaseUnderscoreNames { get; set; }

EscapeHtmlChars

View Source
Declaration
public bool EscapeHtmlChars { get; set; }

EscapeUnicode

View Source
Declaration
public bool EscapeUnicode { get; set; }

ExcludeDefaultValues

View Source
Declaration
public bool ExcludeDefaultValues { get; set; }

ExcludePropertyReferences

View Source
Declaration
public string[] ExcludePropertyReferences { get; set; }

ExcludeTypeInfo

View Source
Declaration
public bool ExcludeTypeInfo { get; set; }

ExcludeTypeNames

View Source
Declaration
public HashSet<string> ExcludeTypeNames { get; set; }

ExcludeTypes

View Source
Declaration
public HashSet<Type> ExcludeTypes { get; set; }

IncludeDefaultEnums

View Source
Declaration
public bool IncludeDefaultEnums { get; set; }

IncludeNullValues

View Source
Declaration
public bool IncludeNullValues { get; set; }

IncludeNullValuesInDictionaries

View Source
Declaration
public bool IncludeNullValuesInDictionaries { get; set; }

IncludePublicFields

View Source
Declaration
public bool IncludePublicFields { get; set; }

IncludeTypeInfo

View Source
Declaration
public bool IncludeTypeInfo { get; set; }

Indent

View Source
Declaration
public bool Indent { get; set; }

MaxDepth

View Source
Declaration
public int MaxDepth { get; set; }

ModelFactory

View Source
Declaration
public EmptyCtorFactoryDelegate ModelFactory { get; set; }

OnDeserializationError

View Source
Declaration
public DeserializationErrorDelegate OnDeserializationError { get; set; }

ParsePrimitiveFloatingPointTypes

View Source
Declaration
public ParseAsType ParsePrimitiveFloatingPointTypes { get; set; }

ParsePrimitiveFn

View Source
Declaration
public Func<string, object> ParsePrimitiveFn { get; set; }

ParsePrimitiveIntegerTypes

View Source
Declaration
public ParseAsType ParsePrimitiveIntegerTypes { get; set; }

PreferInterfaces

View Source
Declaration
public bool PreferInterfaces { get; set; }

PropertyConvention

View Source
Declaration
public PropertyConvention PropertyConvention { get; set; }

SkipDateTimeConversion

View Source
Declaration
public bool SkipDateTimeConversion { get; set; }

TextCase

View Source
Declaration
public TextCase TextCase { get; set; }

ThrowOnError

View Source
Declaration
public bool ThrowOnError { get; set; }

TimeSpanHandler

View Source
Declaration
public TimeSpanHandler TimeSpanHandler { get; set; }

TreatEnumAsInteger

View Source
Declaration
public bool TreatEnumAsInteger { get; set; }

TryParseIntoBestFit

View Source
Declaration
public bool TryParseIntoBestFit { get; set; }

TryToParseNumericType

View Source
Declaration
public bool TryToParseNumericType { get; set; }

TryToParsePrimitiveTypeValues

View Source
Declaration
public bool TryToParsePrimitiveTypeValues { get; set; }

TypeAttr

View Source
Declaration
public string TypeAttr { get; set; }

TypeAttrMemory

View Source
Declaration
public ReadOnlyMemory<char> TypeAttrMemory { get; }

TypeFinder

View Source
Declaration
public Func<string, Type> TypeFinder { get; set; }

TypeWriter

View Source
Declaration
public Func<Type, string> TypeWriter { get; set; }

Methods

Dispose()

View Source
Declaration
public void Dispose()

Inherited Methods

AssertNotInit()

View Source
Declaration
public static Config AssertNotInit()
Returns

ServiceStack.Text.Config

Init()

View Source
Declaration
public static void Init()

Init(Config)

View Source
Declaration
public static void Init(Config config)
Parameters
TypeName
ServiceStack.Text.Configconfig

Populate(Config)

View Source
Declaration
public Config Populate(Config config)
Returns

ServiceStack.Text.Config

Parameters
TypeName
ServiceStack.Text.Configconfig

UnsafeInit(Config)

Bypass Init checks. Only call on Startup.

View Source
Declaration
public static void UnsafeInit(Config config)
Parameters
TypeName
ServiceStack.Text.Configconfig

Implements

  • System.IDisposable