JsonNode ToString Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Json
Assembly: DeltaEngine.Content.Json (in DeltaEngine.Content.Json.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public override string ToString()

Return Value

Type: String
Remarks

Tests: DeltaEngine.Content.Json.Tests.JsonNodeTests
Examples

1 unit tests call DeltaEngine.Content.Json.JsonNode.ToString
[Test, Category("Slow")]
public void GetStringOfNode()
{
    var json = new JsonNode("{ \"layers\":[ { \"sky\":[1, 1] }, { \"ground\":[0, 0] } ] }");
    var nodeString = json.ToString();
    Assert.IsFalse(string.IsNullOrEmpty(nodeString));
}
See Also