PenguinPaul/google-voice-java

From Settings, JSON Node "Spam" is now Boolean not INT

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Authenticate with HOSTED Account
2. Simply run voice.getSettings(false)

What is the expected output? What do you see instead?
JSON array, no exception.

Getting exception: gvjava.org.json.JSONException: JSONObject["spam"] is not a 
number.


What version of the product are you using? On what operating system?
Current Source, Mac OS 10.6.7


Please provide any additional information below.

Changed references in com.techventus.server.voice.datatypes/Setting.java

Adjusted INT to BOOLEAN, problem solved.


Original issue reported on code.google.com by ang...@foxtailtech.com on 27 May 2011 at 5:23

Hi Angelo,
Did you commit these changes?

Original comment by malone.j...@gmail.com on 2 May 2012 at 8:44