Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4474

JSON plugin breaks sort order for LinkedHashMap

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.3.28
    • Component/s: Plugin - JSON
    • Labels:
      None
    • Environment:

      JBOSS EAP6

      Description

      I have LinkedHashMap<String, String>() that I send from action class as a JSON
      The JSON result I get from URL is map ordered by key. That is not the order I specified.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ydench Yuri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: