using UnityEngine; using UnityEditor; using Newtonsoft.Json.Linq; public class Participant { public string[][] trials; public string inputMethod; public int participantId; public Participant(string json) { JObject jObject = JObject.Parse(json); JArray jTrials = (JArray)jObject["trials"]; this.trials = new string[jTrials.Count][]; for (int i = 0;i