Update to new ticket response

This commit is contained in:
Laura Hausmann 2022-03-21 23:48:42 +01:00
parent 4cc3f22ade
commit e4e54d0341
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -217,8 +217,8 @@ namespace bahnplan.web.JSON {
}
public class Plaetze {
[J("platz", NullValueHandling = NV.Ignore)]
public Platz Platz { get; set; }
[J("platz", NullValueHandling = NV.Ignore), JsonConverter(typeof(SingleOrArrayConverter<Platz>))]
public List<Platz> Platz { get; set; }
}
public class Platz {