private static void ParsesArray(string json, object[] expectedArray)
        {
            var actual = CombinedParser.Parse(json);

            Assert.IsType <object[]>(actual);

            var actualArray = (object[])actual;

            AssertArraysMatch(expectedArray, actualArray);
        }
        private static void ParsesObject(string json, IDictionary <string, object> expectedProps)
        {
            var actual = CombinedParser.Parse(json);

            Assert.IsType <ExpandoObject>(actual);

            var actualProps = (IDictionary <string, object>)actual;

            AssertDictionariesMatch(expectedProps, actualProps);
        }
        private static void Parses(string json, object expected)
        {
            var actual = CombinedParser.Parse(json);

            Assert.Equal(expected, actual);
        }