Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1866

ZK JSON: improve usability by accepting Collection instead of List

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Normal
    • 7.0.0
    • 6.5.3
    • General
    • Security Level: Jimmy
    • None

    Description

      the classes JSONValue and JSONArray could accept java.util.Collection instead of just List, this would improve usability of those classes. The change would only change one interface and have little impact on the implementation in JSONValue
      the same improvements were suggested and accepted in json-simple, but were never released...
      see https://code.google.com/p/json-simple/issues/list?can=2&q=Collection

      attached the 2 patched files...

      Attachments

        1. JSONArray.java
          5 kB
          cor3000
        2. JSONValue.java
          6 kB
          cor3000
        3. JSONValue.java
          6 kB
          cor3000

        Activity

          People

            Jenkins Jenkins
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: