Chuck Rolke created QPIDIT-70:
---------------------------------

             Summary: [amqpnetlite] Receiver shim does not properly encode json 
results
                 Key: QPIDIT-70
                 URL: https://issues.apache.org/jira/browse/QPIDIT-70
             Project: Apache QPID IT
          Issue Type: Bug
          Components: .Net Lite Shim
    Affects Versions: Future
            Reporter: Chuck Rolke
            Assignee: Chuck Rolke


Strings containing a backslash fail and the rules governing backslashes are not 
clear. 

In debug tests with the console printing the sent/received payloads AmqpNetLite 
and ProtonCpp show:

Sender (both cases):
{noformat}
'["", "12345", "Hello, world", 
"\\\\x01\\\\x02\\\\x03\\\\x04\\\\x05abcde\\\\x80\\\\x81\\\\xfe\\\\xff"]'
{noformat}

ProtonCpp works by returning:
{noformat}
binary
["","12345","Hello, world","\\x01\\x02\\x03\\x04\\x05abcde\\x80\\x81\\xfe\\xff"]
{noformat}

AmqpNetLite fails by returning:
{noformat}
["", "12345", "Hello, world", 
"\x01\x02\x03\x04\x05abcde\x80\x81\xfe\xff"]{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to