public void AnalyzeTestSimpleList()
        {
            string[] syntax = new string[]
            {
                "[", "li1", ",", "li2", "]"
            };

            JsonObject obj = JsonSyntaxAnalyzer.Parse(syntax);

            obj.AssertRootIsList();
            obj.AssertListWithSimpleValues(null, "li1", "li2");
        }
        public void AnalyzeTestWithListValue()
        {
            string[] syntax = new string[]
            {
                "{", "key1", ":", "[", "li1", ",", "li2", "]", "}"
            };

            JsonObject obj = JsonSyntaxAnalyzer.Parse(syntax);

            obj.AssertRootIsObject();
            obj.NestedValues.AssertIsValidJsonObjectArray(1);

            // Test the value with list
            JsonObject val = obj.NestedValues[0];

            val.AssertListWithSimpleValues("key1", "li1", "li2");
        }