Skip to content

GodotJsonSettingsFactory

Namespace: Shadop.Archmage.Sdk

Factory for creating JsonSerializerSettings pre-configured with Godot vector converters.

public static class GodotJsonSettingsFactory

Inheritance Object → GodotJsonSettingsFactory

Creates JsonSerializerSettings pre-configured with Godot vector converters. Supports: Vector2, Vector3, Vector4, Vector2I, Vector3I, Vector4I. Each vector type serializes to/from a JSON object: {“x”: x, “y”: y} etc.

public static JsonSerializerSettings Create(JsonSerializerSettings baseSettings)

baseSettings JsonSerializerSettings
Optional base settings to clone and extend. If null, new settings are created.

JsonSerializerSettings
JsonSerializerSettings with Godot vector converters registered.