com.silverpeas.treeMenu.process
Class TreeMenuJason
java.lang.Object
com.silverpeas.treeMenu.process.TreeMenuJason
public class TreeMenuJason
- extends Object
Allows transforming menuItem to Json objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getMenuItemAsJSONObject
public static org.json.JSONObject getMenuItemAsJSONObject(MenuItem item)
- Parameters:
item
-
- Returns:
getListAsJSONArray
public static org.json.JSONArray getListAsJSONArray(List<MenuItem> items)
- Parameters:
items
-
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.