holopy3/Assets/UniGLTF/UniJSON/Editor/Tests/JsonFormatterTest.cs
Lena Biresch 490ef558ef CleanUp
2021-01-28 13:07:52 +01:00

21 lines
428 B
C#

using NUnit.Framework;
using UnityEngine;
namespace UniJSON
{
public class JsonFormatterTests
{
[Test]
public void IndentTest()
{
var formatter = new JsonFormatter(2);
formatter.BeginMap();
formatter.Key("a"); formatter.Value(1);
formatter.EndMap();
var json = formatter.ToString();
Debug.Log(json);
}
}
}