Package com.ponysdk.ui.server.addon

Examples of com.ponysdk.ui.server.addon.JSONBuilder.addChild()


        System.out.println("Received message: " + msg);

        final JSONBuilder jso = new JSONBuilder();
        jso.put("message", "i received #" + msg);
        jso.put("option", "an option");
        jso.addChild("child1").put("submsg1", "here").put("submsg2", "there");

        update(jso.build());
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.