Particular / Workshop

SOA Done Right
Apache License 2.0
581 stars 224 forks source link

AsExpandoArrayAsync throws a JsonSerializationException when there is not content #312

Open danielmarbach opened 5 years ago

danielmarbach commented 5 years ago

When ReadAsStringAsync returns empty string the following method in HttpContextExtensions throw a json deserialization exception JsonConvert.DeserializeObject<ExpandoObject[]>(await content.ReadAsStringAsync(), serializerSettings);