BITKit/Packages/Runtime~/Unity/Scripts/Components/JsonToJObject.cs

20 lines
462 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BITKit
{
public class JsonToJObject : Provider<string>
{
public Provider output;
public override string Get()
{
throw new System.NotImplementedException();
}
public override void Set(string t)
{
output.Set(JObject.Parse(t));
}
}
}