private String getText ( JsonNode node , String propertyName ) { JsonNode childNode = node . get ( propertyName ) ; if ( childNode == null ) { return null ; } return childNode . asText ( ) ; }
Get the text from child node with the given name . Returns null if child node does not exist .