assertEquals(0, c.getA());
c.parse(json, true);
assertEquals(1, c.getA());
- System.out.println(c);
assertNotNull(c.getB());
assertEquals(2, c.getB().getA());
assertEquals(3, c.getB().getB().getA());
assertEquals("rgb(0,0,139)", p.getStr("color"));
p = $$("a: 1, b: 0.5, c: null, d: whatever, e: true, f: false");
- System.out.println(p.tostring());
assertEquals(1, p.getInt("a"));
assertEquals(0.5f, p.getFloat("b"));
assertEquals("whatever", p.getStr("d"));