Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Converters Inheritance: System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Summary
Handles JSON conversion for lists of navigation page items that can be either strings or GroupConfig objects.Remarks
This converter uses a static NavigationPageConverter instance for efficient conversion of all items in the list without creating new converter instances for each item.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
HandleNull Inherited Virtual
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Property Value
Type:bool
Type Override
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Property Value
Type:System.Type
Type Inherited Abstract
Inherited from
System.Text.Json.Serialization.JsonConverterSyntax
Property Value
Type:System.Type?
Methods
CanConvert Override
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Parameters
Returns
Type:bool
CanConvert Inherited Abstract
Inherited from
System.Text.Json.Serialization.JsonConverterSyntax
Parameters
Returns
Type:bool
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
Read Override
Reads and converts the JSON array to a list of navigation page objects.Syntax
Parameters
Returns
Type:System.Collections.Generic.List<object>
A list containing string and GroupConfig objects.
Exceptions
Read Inherited Abstract
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Parameters
Returns
Type:System.Collections.Generic.List<object>?
ReadAsPropertyName Inherited Virtual
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Parameters
Returns
Type:System.Collections.Generic.List<object>
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Write Override
Writes the list of navigation page objects to JSON array.Syntax
Parameters
Write Inherited Abstract
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>Syntax
Parameters
WriteAsPropertyName Inherited Virtual
Inherited from
System.Text.Json.Serialization.JsonConverter<System.Collections.Generic.List<object>>