org.nuxeo.ecm.webengine.util
Class JSonHelper
java.lang.Object
org.nuxeo.ecm.webengine.util.JSonHelper
public class JSonHelper
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toJSon
public static java.lang.String toJSon(DocumentModel doc)
toChildrenList
public static java.lang.String toChildrenList(DocumentModel doc)
asJSON
public static net.sf.json.JSONArray asJSON(DocumentModelList docList)
getChildrenList
public static net.sf.json.JSONArray getChildrenList(DocumentModel doc)
toJSon
public static java.lang.String toJSon(DocumentModel doc,
java.lang.String... schemas)
doc2JSon
public static net.sf.json.JSONObject doc2JSon(DocumentModel doc)
doc2JSon
public static net.sf.json.JSONObject doc2JSon(DocumentModel doc,
java.lang.String... schemas)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.