Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.client.jaxrs.util
Class JSONExporter

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.util.JSONExporter

public class JSONExporter
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
JSONExporter()
           
 
Method Summary
static OperationDocumentation fromJSON(net.sf.json.JSONObject json)
           
static String toJSON(List<OperationDocumentation> docs)
           
static void toJSON(List<OperationDocumentation> docs, Writer writer)
           
static net.sf.json.JSONObject toJSON(OperationDocumentation doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONExporter

public JSONExporter()
Method Detail

toJSON

public static String toJSON(List<OperationDocumentation> docs)
                     throws IOException
Throws:
IOException

toJSON

public static void toJSON(List<OperationDocumentation> docs,
                          Writer writer)
                   throws IOException
Throws:
IOException

toJSON

public static net.sf.json.JSONObject toJSON(OperationDocumentation doc)

fromJSON

public static OperationDocumentation fromJSON(net.sf.json.JSONObject json)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.