IJsonPopulatorclass

Objects that need to be deserialized into can implement this interface which allows them to be populated from a JSON object.

objectIJsonPopulator
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract interface Sandbox.IJsonPopulator

Methods2

Showing 2 methods

public virtual void Deserialize(System.Text.Json.Nodes.JsonNode node)PUBLICVIRTUAL

ParameterTypeDescription
nodeJsonNode
Returns:void

public virtual System.Text.Json.Nodes.JsonNode Serialize()PUBLICVIRTUAL

Returns:JsonNode

On this page