As said in here: https://github.com/sendgrid/sendgrid-google-java/issues/22 the imports import com.google.appengine.labs.repackaged.org.json.JSONException; import com.google.appengine.labs.repackaged.org.json.JSONObject; import com.google.appengine.labs.repackaged.org.json.JSONArray; and their use fail. They are no more part of the Java Appengine SDK.
Activity
hieinji commentedon Feb 2, 2017
Same issue here, did someone found an alternative?
agsola commentedon Mar 31, 2017
Don't use Sendgrid. As you can see, an "excellent" [/irony] support.
TBuc commentedon May 23, 2017
This library is easily patchable in order to work, but will encounter big limitations (no CCs, and much more).
I happily switched to Sendgrid official Java library, currently v.3:
https://github.com/sendgrid/sendgrid-java