I would love to have something like this in java
json myData = { a: new Boolean(true), b: 1, c: "Some string", d: ["a", "b", "c"] }; System.out.println(myData); boolean a = myData.a; List<String> abcs = myData.d;