Skip to content

Get Sansar

Script API

JsonSerializerOptions

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Struct Namespace Sansar.Utility

Options which control the serialization and deserialization process

public struct JsonSerializerOptions

Members at a glance

KindMembers
PropertiesSerializeReferences

Properties

SerializeReferences

[get: System.Runtime.CompilerServices.IsReadOnly] public bool SerializeReferences { get; set; }

Controls how references are serialized.

Value: bool — When true references are maintained instead of serializing the objects directly.

Remarks

Referential loops with this setting false will throw an exception.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.