Updated UniJSON

This commit is contained in:
ousttrue
2018-11-28 15:45:13 +09:00
parent 0455102c74
commit ac66daab25
3 changed files with 7 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ namespace VRM
var subFormatter = new JsonFormatter(4);
subFormatter.BeginMap();
foreach (var _kv in node.ObjectItems)
foreach (var _kv in node.ObjectItemsRaw)
{
subFormatter.Key(_kv.Key);
Traverse(_kv.Value, subFormatter, dir);
@@ -102,7 +102,7 @@ namespace VRM
{
case JsonValueType.Array:
f.BeginList();
foreach(var x in node.ArrayItems)
foreach(var x in node.ArrayItemsRaw)
{
TraverseItem(x, f, dir);
}
@@ -113,7 +113,7 @@ namespace VRM
//Debug.LogFormat("title: {0}", title);
{
f.BeginMap();
foreach (var kv in node.ObjectItems)
foreach (var kv in node.ObjectItemsRaw)
{
f.Key(kv.Key);
TraverseItem(kv.Value, f, dir);