public static boolean isValidJsonStrict ( String s ) { try { new JSONParser ( MODE_RFC4627 ) . parse ( s , FakeMapper . DEFAULT ) ; return true ; } catch ( ParseException e ) { return false ; } }
check RFC4627 Json Syntax from input String