private char retrieveWrappingQuoteTypeOfJsonMemberNames(String jsonString) {
        char quote = '\"';   //  the default quote character used to specify json member names and string value according to the json specification
        for (char c : jsonString.toCharArray()) {
            if (c == '\'' || c == '\"') {
                quote = c;
                break;
            }
        }
        return quote;
    }
private char retrieveWrappingQuoteTypeOfJsonMemberNames ( String jsonString ) { char quote = '\"' ; for ( char c : jsonString . toCharArray ( ) ) { if ( c == '\'' || c == '\"' ) { quote = c ; break ; } } return quote ; }
Returns the quote character used for specifying json member names and String values of json members

@param jsonString the source json from which to extract the wrapping quote
@return either one of the characters ' (single quote)or " (double quote)