code: public static String protect( JSON json, boolean shrink ) {
        String output = !shrink ? json.toString( 0 ) : toString( json );
        return webHijackPreventionStrategy.protect( output );
     }
docs: Transforms the input Json string using the configured
  WebHijackPreventionStrategy.<br>
  
  @param json the input string
  @param shrink if redundant key quotes may be eliminated.
  @return String a transformed json string