public override dynamic CreateFromJSON(string value) { if (value.Contains($"{Name}.")) { return(GetValue(value.Replace($"{Name}.", "")).Value); } return(Stored.CreateFromJSON(value)); }
public override dynamic CreateFromJSON(string value) { var arr = (JArray)JsonConvert.DeserializeObject(value); var data = new List <dynamic>(); foreach (var var in arr) { data.Add(Stored.CreateFromJSON(JsonConvert.SerializeObject(var))); } return(data); }