Toggle navigation
Home
com.google.gson.Gson to com.fasterxml.jackson.databind.ObjectMapper
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'graphhopper'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Rename Method invocation
fromJson
to
readValue
Rename Variable
gson
to
objectMapper
gson
to
objectMapper
gson
to
objectMapper
gson
to
objectMapper
Add or Remove Method invocation
Optional.ofNullable(asJsonObject(jsonElement)).map(hitsJson -> asJsonObject(hitsJson.get("_source")))
to
Optional.ofNullable(jsonElement.path("_source"))
gson.<Map<String,Object>>fromJson(sourceJson,type)
to
objectMapper.<Map<String,Object>>convertValue(sourceJson,type)