public static object[] Deserialize(this Type type, string json)
 {
     using var stringReader = new StringReader(json);
     using var reader       = new JsonTextReader(stringReader);
     return(reader.DeserializeSingleOrList(type));
 }
 public static T[] DeserializeJson <T>(this string json)
 {
     using var stringReader = new StringReader(json);
     using var reader       = new JsonTextReader(stringReader);
     return(reader.DeserializeSingleOrList <T>());
 }