cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lambert, Michael" <>
Subject dollar sign printed in json
Date Mon, 30 Jun 2014 21:38:00 GMT
I am extending an xsd string to include xml:language:

<xsd:complexType name="reasonType">
<xsd:extension base="xsd:string">
<!-- see for valid values -->
<xsd:attribute ref="xml:lang" use="required" />

But when i serialize it out into json i get an ugly '$' as the key to the
string value. Anyway to change it so that the key is printed differently?
"value" would be a better key name for me:

    "ce1.code": "BadArgument",
    "ce1.reason": {
        "$": "Bad argument error",
        "xml.lang": "en"


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message