net.barkerjr.gameserver.util.convert
Class JSON

java.lang.Object
  extended by net.barkerjr.gameserver.util.convert.JSON

public abstract class JSON
extends Object

Converts GameServers to JSON

Since:
2010-03-23
Author:
BarkerJr

Constructor Summary
JSON()
           
 
Method Summary
static JSONObject toJSON(GameServer server)
          Converts the given GameServer to JSON
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSON

public JSON()
Method Detail

toJSON

public static JSONObject toJSON(GameServer server)
                         throws JSONException
Converts the given GameServer to JSON

Parameters:
server - the server to convert
Returns:
the JSON object
Throws:
JSONException - if there was an error converting data
Since:
2010-03-23