mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
MsgPack と Json を共用にするための Generics ListTreeNode を 単純な型 JsonNode で置き換え
This commit is contained in:
@@ -9,7 +9,7 @@ namespace VRM.Samples
|
||||
{
|
||||
public static class JsonExtensions
|
||||
{
|
||||
public static void SetValue<T>(this ListTreeNode<JsonValue> node, string key, T value)
|
||||
public static void SetValue<T>(this JsonNode node, string key, T value)
|
||||
{
|
||||
var f = new JsonFormatter();
|
||||
f.Serialize(value);
|
||||
|
||||
Reference in New Issue
Block a user