remove json modification on deserialization (ref #1)
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user