qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-1686) [go] unmarshal maps with illegal key types
Date Fri, 10 Nov 2017 20:37:00 GMT
Alan Conway created PROTON-1686:
-----------------------------------

             Summary: [go] unmarshal maps with illegal key types
                 Key: PROTON-1686
                 URL: https://issues.apache.org/jira/browse/PROTON-1686
             Project: Qpid Proton
          Issue Type: Bug
          Components: go-binding
    Affects Versions: proton-c-0.18.1
         Environment: Normally AMQP maps are unmarshalled as Go maps, however Go has restrictions
on the types that are allowed as a map Key. Also, unmarshalling ot a Go map does not preserve
the wire-order of the map.

Add a Go type AnyMap which is a slice of interface{} pairs to represent the most general case
of an AMQP map which allows arbitrary key values and preserves wire order, for unusual interop
cases.
            Reporter: Alan Conway
            Assignee: Alan Conway
             Fix For: proton-c-0.19.0






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message