Package org.exoplatform.json

Examples of org.exoplatform.json.JSONService.register()


      List<ApplicationCategory> appCategories = prService.getApplicationCategories(remoteUser, applicationType);
      ApplicationCategoryToJSONPlugin toJSON = new ApplicationCategoryToJSONPlugin();

      StringBuilder value = new StringBuilder();
      JSONService jsonService = new JSONService();
      jsonService.register(ApplicationCategory.class, toJSON);

      if (appCategories.size() < 1)
         return value;

      value.append("{\n").append("  applicationRegistry : {\n");
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.