Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Annotations, Converters
    • Labels:
      None
    • JDK version and platform:
      Mac OS X 1.5.0_13

      Description

      Given:

      class C

      { List<String> list; }

      when serializing, one gets:

      <C>
      <list>
      <string>foo</string>
      <string>bar</string>
      </list>
      </C>

      One can use an implicit collection to alias the item type, but there is no way to keep the collection explicit yet still alias the item type, i.e.:

      <C>
      <list>
      <name>foo</name>
      <name>bar</name>
      </list>
      </C>

      There should be a way to do this (both via code an an annotation).

        Issue Links

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul J. Lucas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: