- public static void main(String[] args) {
-
-
- // check for transpiler fix associated with JSONParser yylex.java use of charAt()
- // instead of codePointAt()
-
- String s = "e";
- char c = 'c';
- char f = 'f';
- s += c | f;
- int x = c&f;
- int y = 2 & c;
- int z = c ^ 5;
- String result = s +x + y + z;
- assert (result == "e103982102");
- JSONParser jsonParser = new JSONParser();
- try
- {
- JSONObject jsonObj = (JSONObject) jsonParser.parse("{\"a\":3}");
- System.out.println(jsonObj);
- } catch (ParseException e)
- {
- e.printStackTrace();
- }
-
- }
-