Hi,
I'm trying to import and use Google Gson library in my servlet but when I try to compile the servlet I get these errors
com.google.gson.JsonElement cannot be resolved to a type com.google.gson.JsonParser cannot be resolved to a type com.google.gson.JsonObject cannot be resolved to a type
The Gson library is in OSGi and Active and it exports these packages
com.google.gson,version=2.2.4 com.google.gson.annotations,version=2.2.4 com.google.gson.internal,version=2.2.4 com.google.gson.internal.bind,version=2.2.4 com.google.gson.reflect,version=2.2.4 com.google.gson.stream,version=2.2.4
How can I use the library in my servlets? I need it to parse JSON strings.
Thanks for any help