Package groovy.json

Examples of groovy.json.JsonBuilder.call()


* Created by dteo on 10/05/2014.
*/
public class MapToJson {
  public static String convert(Map map) {
    JsonBuilder json = new JsonBuilder();
    json.call(map);
    return json.toPrettyString();
  }

}
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.