Package uk.ac.osswatch.simal.model

Examples of uk.ac.osswatch.simal.model.IDoapCategory.toJSONRecord()


    StringBuffer json = new StringBuffer("{ \"items\": [");
    Iterator<IDoapCategory> categories = getAll().iterator();
    IDoapCategory category;
    while (categories.hasNext()) {
      category = categories.next();
      json.append(category.toJSONRecord());
      if (categories.hasNext()) {
        json.append(",");
      }
    }
    json.append("]}");
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.