Skip to content
Advertisement

Tag: gmail-api

‘com.google.api.client.json.jackson2.JacksonFactory’ is deprecated. What are my options?

While following the Gmail API java quickstart guide I came across this code snippet: Using it in the editor gave me a warning that it is deprecated. What are my options? Answer Look up the API documentation of class JacksonFactory. It tells you what to do: Deprecated. use com.google.api.client.json.GsonFactory instead Looking into the API documentation of class GsonFactory you see,

Advertisement