PenguinPaul/google-voice-java

Group.listToJson does not work as javadoc implies

Closed this issue · 1 comments

What steps will reproduce the problem?
1. Run method with valid group list


What is the expected output? What do you see instead?

expected : 
"groups":{"testID":{"id":"testID","greetingId":0,"isCustomForwarding":false,"isC
ustomGreeting":false,"disabledForwardingIds":{},"name":"testName","isCustomDirec
tConnect":false,"directConnect":false},"testID1":{"id":"testID1","greetingId":0,
"isCustomForwarding":false,"isCustomGreeting":false,"disabledForwardingIds":{"3"
:true,"2":true},"name":"testName1","isCustomDirectConnect":false,"directConnect"
:false}}

actual : 
"groups":{{"id":"testID","greetingId":0,"isCustomForwarding":false,"isCustomGree
ting":false,"disabledForwardingIds":{},"name":"testName","isCustomDirectConnect"
:false,"directConnect":false},{"id":"testID1","greetingId":0,"isCustomForwarding
":false,"isCustomGreeting":false,"disabledForwardingIds":{"3":true,"2":true},"na
me":"testName1","isCustomDirectConnect":false,"directConnect":false}}

Original issue reported on code.google.com by Biodro...@gmail.com on 18 Apr 2012 at 10:27

fixed

Original comment by Biodro...@gmail.com on 19 Apr 2012 at 4:13

  • Changed state: Fixed