Java IDL parser supports isnew/ischanged/isdeleted
[working/Evergreen.git] / Open-ILS / src / java / org / open_ils / test / TestIDL.java
index de778a9..c50ad62 100644 (file)
@@ -10,10 +10,11 @@ public class TestIDL {
         parser.parse();
         //System.out.print(parser.toXML());
 
-        /*
         OSRFObject bre = new OSRFObject("bre");
         bre.put("id", new Integer(1));
+        bre.put("isnew", new Boolean(false));
+        bre.put("isdeleted", new Boolean(true));
         System.out.println(bre);
-        */
+        System.out.println(new JSONWriter(bre).write());
     }
 }