[ https://issues.apache.org/jira/browse/THRIFT-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1202. --------------------------------- Resolution: Fixed Great! just committed this fix! > Malformed JSON for map<string,type> services parameters > ------------------------------------------------------- > > Key: THRIFT-1202 > URL: https://issues.apache.org/jira/browse/THRIFT-1202 > Project: Thrift > Issue Type: Bug > Components: JavaScript - Compiler, JavaScript - Library > Affects Versions: 0.7 > Environment: Firefox 3.6.16 || 4.0.1 > Reporter: Henrique Mendonca > Assignee: Henrique Mendonca > Labels: javascript > Attachments: THRIFT-1202-qunit-tests-java-test-server.patch, > qunit-tests-java-test-server.patch > > > I have a problem if I try to use Strings as map keys. Somehow I get two > double quotes around the key values, e.g. ""key"" instead of "key": > testStringMap({'a':'123', 'a b':'with spaces', 'test':'test', ... }) sends: > [1,"testStringMap",1,0,{"1":{"map":["str","str",5,{""a"":"123",""a b"":"with > spaces",""test"":"test", ... }]}}] > I guess it's something wrong on the write methods from compiled JS services... > Could someone test this on their machine? Thank you. > Cheers, > Henrique -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira