remove json modification on deserialization (ref #1)

This commit is contained in:
2019-02-27 15:45:22 +01:00
parent 479eb21180
commit 5283088d21
+2 -1
View File
@@ -126,7 +126,8 @@ namespace FeedlySharp
/// <exception cref="PocketException">Parse error.</exception>
private T DeserializeJson<T>(string json) where T : class, new()
{
json = json.Replace("[]", "{}");
// TODO why was this line needed?
//json = json.Replace("[]", "{}");
// deserialize object
T parsedResponse = JsonConvert.DeserializeObject<T>(