If you mean reflection client mode, I've tried both clients
Actually i'm using GSON's original source code within my application, no library. But all json is doing is parsing the object, not writing the file
I am getting an error when i try to save to: access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks")
public void saveUserProfiles(Script script)
{
try
{
FileOutputStream fileOut = new FileOutputStream(script.getDirectoryData() + USER_FILE);
PrintStream printStream = new PrintStream(fileOut);
fileOut.close();
printStream.print(json.toJson(profiles));
printStream.close();
}
catch (Exception e)
{
script.logger.debug(e.getMessage());
}
}
/**
* The user profiles file
*/
public static final String USER_FILE = "user_profiles.dat";
There wasn't an error handled well in the find entity i'm sure, when i checked the logger the next time it done it there was only errors directing to attempt woodcutting.