Removed old dependencies
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
*/
|
||||
package opensesim.gui;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
||||
import java.awt.Dialog;
|
||||
import java.awt.Frame;
|
||||
import java.awt.GraphicsDevice;
|
||||
@ -1053,10 +1053,10 @@ public class SeSimApplication extends javax.swing.JFrame {
|
||||
// testing
|
||||
Pojo p = new Pojo();
|
||||
|
||||
Gson g = new Gson();
|
||||
String r = g.toJson(p);
|
||||
// Gson g = new Gson();
|
||||
// String r = g.toJson(p);
|
||||
|
||||
System.out.printf("GSON: %s\n", r);
|
||||
// System.out.printf("GSON: %s\n", r);
|
||||
|
||||
JSONObject o = new JSONObject(p, new String[]{"name", "symbol"});
|
||||
System.out.printf("OJSON: %s\n", o.toString(8));
|
||||
|
Reference in New Issue
Block a user