Skip to content

Commit

Permalink
fix for newtonsoft ienumerable error
Browse files Browse the repository at this point in the history
  • Loading branch information
groenlid committed Feb 19, 2016
1 parent b42577f commit 8c0d650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LearnositySDK/Utils/JsonObjectFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static JsonObject fromJArray(JArray jArray)

int index = 0;

foreach (JToken item in jArray)
foreach (JToken item in (IEnumerable<JToken>)jArray)
{
jsonObject = JsonObjectFactory.fromJToken(jsonObject, index.ToString(), item);
index++;
Expand Down

0 comments on commit 8c0d650

Please sign in to comment.