Package net.jangaroo.exml.json

Examples of net.jangaroo.exml.json.JsonArray


    JsonObject expectedJsonObject = new JsonObject(
            "defaults", new JsonObject(
              "text", "it works!"
            ),
            "defaultType", "button",
            "items", new JsonArray(new JsonObject(
              "xtype", "container",
              "defaults", new JsonObject(
                "propertyOne", true
              ),
              "defaultType", "testNamespace.config.testComponent"
View Full Code Here


    ExmlModel model = exmlToModelParser.parse(getFile("/testPackage/TestComponentWithConfigModes.exml"));
    Assert.assertEquals("testPackage.TestComponent", model.getSuperClassName());

    JsonObject expectedJsonObject = new JsonObject(
            "items", new JsonArray(
                    new JsonObject(
                            "propertyThree", "3"
                    ).settingWrapperClass("testNamespace.config.testComponent2")
            ),
            "items$at", "{net.jangaroo.ext.Exml.APPEND}",
            "propertyFive", new JsonArray(new JsonObject("xtype", "agridcolumn")),
            "propertyFive$at", "{net.jangaroo.ext.Exml.PREPEND}",
            "layoutConfig", new JsonObject(
                    "mode", "foo"
            )
    );
View Full Code Here

TOP

Related Classes of net.jangaroo.exml.json.JsonArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.