public String getPropertyName ( String jsonFieldName , JsonNode node ) { jsonFieldName = getFieldName ( jsonFieldName , node ) ; jsonFieldName = replaceIllegalCharacters ( jsonFieldName ) ; jsonFieldName = normalizeName ( jsonFieldName ) ; jsonFieldName = makeLowerCamelCase ( jsonFieldName ) ; if ( isKeyword ( jsonFieldName ) ) { jsonFieldName = "_" + jsonFieldName ; } if ( isKeyword ( jsonFieldName ) ) { jsonFieldName += "_" ; } return jsonFieldName ; }
Convert jsonFieldName into the equivalent Java fieldname by replacing illegal characters and normalizing it .