diff --git a/bahnplan.web/JSON/TicketResponse.cs b/bahnplan.web/JSON/TicketResponse.cs index d2f8ddc..ae023c3 100644 --- a/bahnplan.web/JSON/TicketResponse.cs +++ b/bahnplan.web/JSON/TicketResponse.cs @@ -173,7 +173,7 @@ namespace bahnplan.web.JSON { } public class Reslist { - [J("res", NullValueHandling = NV.Ignore)] + [J("res", NullValueHandling = NV.Ignore), JsonConverter(typeof(SingleOrArrayConverter))] public List Res { get; set; } } @@ -431,4 +431,4 @@ namespace bahnplan.web.JSON { throw new NotImplementedException(); } } -} \ No newline at end of file +} diff --git a/bahnplan.web/bahnplan.web.csproj b/bahnplan.web/bahnplan.web.csproj index ae5cf36..af31509 100644 --- a/bahnplan.web/bahnplan.web.csproj +++ b/bahnplan.web/bahnplan.web.csproj @@ -68,13 +68,13 @@ - - + + - - - - + + + +