Table of Contents

Method ToJson

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ToJson<T>(T)

Serializes a value as JSON.

public static string ToJson<T>(T value)

Parameters

value T

The value to serialize.

Returns

string

A JSON string representing the value.

Type Parameters

T

The type of the value to serialize.