Package projectatlast.course

Examples of projectatlast.course.Course.toJSON()


  @Override
  public JSONObject toJSON() throws JSONException {
    JSONObject json = super.toJSON();

    Course course = getCourse();
    json.put("course", course == null ? null : course.toJSON());
    json.put("mood", mood == null ? null : mood.toJSON());
    json.put("social", getSocial());
    json.put("tools", new JSONArray(getTools()));
    return json;
  }
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.