using System.Linq; using UnityEngine; using System.Collections.Generic; namespace UniJSON { public static class JsonParserExtensions { public static List DeserializeList(this JsonNode jsonList) { return jsonList.ArrayItems.Select(x => { return JsonUtility.FromJson(x.Value.Segment.ToString()); }).ToList(); } } }