public void DeserializeQueueInterface() { string json = @"[ ""One"", ""II"", ""3"" ]"; IImmutableQueue <string> l = JsonConvert.DeserializeObject <IImmutableQueue <string> >(json); Assert.AreEqual(3, l.Count()); Assert.AreEqual("One", l.ElementAt(0)); Assert.AreEqual("II", l.ElementAt(1)); Assert.AreEqual("3", l.ElementAt(2)); }