question: private JsonNode parseLanguageResource ( Resource resource ) throws IOException { InputStream stream = resource . asStream ( ) ; if ( stream == null ) return null ; try { JsonNode tree = mapper . readTree ( stream ) ; return tree ; } finally { stream . close ( ) ; } }
target:  Parses the given language resource, returning the resulting JsonNode. If the resource cannot be read because it does not exist, null is returned.