1
This commit is contained in:
20
Unity/Scripts/Components/JsonToJObject.cs
Normal file
20
Unity/Scripts/Components/JsonToJObject.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user