public static Object parseKeepingOrder ( Reader in ) { try { return new JSONParser ( DEFAULT_PERMISSIVE_MODE ) . parse ( in , defaultReader . DEFAULT_ORDERED ) ; } catch ( Exception e ) { return null ; } }
Parse Json input to a java Object keeping element order