Skip to main content

Definition

Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Renderers Inheritance: System.Object

Syntax

CloudNimble.DotNetDocs.Core.Renderers.JsonRendererOptions

Summary

Configuration options for the JsonRenderer.

Constructors

.ctor

Syntax

public JsonRendererOptions()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

SerializerOptions

Gets or sets the JsonSerializerOptions to use for serialization.

Syntax

public System.Text.Json.JsonSerializerOptions SerializerOptions { get; set; }

Property Value

Type: System.Text.Json.JsonSerializerOptions

Remarks

If not specified, uses default options with camelCase naming, indented output, null value ignoring, and enum string conversion.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?