net.barkerjr.gameserver.util.convert
Class JSON
java.lang.Object
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON
public JSON()
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