agave-systems/systems-core/src/main/java/org/iplantc/service/systems/model/ProxyServer.java
/**
	 * Serializes this ProxyServer into a JSON string.
	 * 
	 * @return String json representation of this ProxyServer
	 */
Serializes this ProxyServer into a JSON string.

@return String json representation of this ProxyServer
Serializes this ProxyServer into a JSON string . @return String json representation of this ProxyServer
public String toJSON()
	{
		String output = null;
		JSONStringer js = new JSONStringer();
		try
		{
			js.object()
				.key("name").value(this.name)
				.key("host").value(this.host)
				.key("port").value(this.port)
			.endObject();
			output = js.toString();
		}
		catch (Exception e)
		{
			System.out.println("Error producing ProxyServer JSON output.");
		}
		return output;
	}
public String toJSON ( ) { String output = null ; JSONStringer js = new JSONStringer ( ) ; try { js . object ( ) . key ( "name" ) . value ( this . name ) . key ( "host" ) . value ( this . host ) . key ( "port" ) . value ( this . port ) . endObject ( ) ; output = js . toString ( ) ; } catch ( Exception e ) { System . out . println ( "Error producing ProxyServer JSON output." ) ; } return output ; }
Serializes this ProxyServer into a JSON string.
Serializes this ProxyServer into a JSON string .