Skip to main content

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

Methods

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

Write Override

Writes the list of navigation page objects to JSON array.

Syntax

Parameters