Class JsonHelper
Namespace: Unity.Networking.QoS
Syntax
public static class JsonHelper
Methods
FromJson<W>(String)
Declaration
public static W FromJson<W>(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| String | json |
Returns
| Type | Description |
|---|---|
| W |
Type Parameters
| Name | Description |
|---|---|
| W |
ToJson<W>(W, Boolean)
Declaration
public static string ToJson<W>(W wrapper, bool prettyPrint = false)
Parameters
| Type | Name | Description |
|---|---|---|
| W | wrapper | |
| Boolean | prettyPrint |
Returns
| Type | Description |
|---|---|
| String |
Type Parameters
| Name | Description |
|---|---|
| W |