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
         Attachments: 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

Reply via email to