Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-528

Allow Dictionary values to be specified using elements in WTKX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.1
    • wtk-wtkx
    • None

    Description

      Currently, it is possible to populate a dictionary type via attributes but not elements. For example, this is supported:

      <HashMap abc="123"/>

      as is this:

      <MyBeanClass>
      <abc>
      <MyOtherBeanClass/>
      </abc>
      </MyBeanClass>

      but this is not:

      <HashMap>
      <abc>
      <MyOtherBeanClass/>
      </abc>
      </HashMap>

      This prevents callers from populating a dictionary with anything other than primitive values. WTKXSerializer should also allow a caller to populate a dictionary with complex types, as shown above.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gbrown Gregory K. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: