Introduce CollectionAnnotation control information for JSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_CS02
    • Affects Version/s: V4.01_CS01
    • Component/s: JSON Format
    • None
    • Environment:

      Applied

    • Hide

      Add a new JSON control information item, "collectionAnnotations".
      Value is a complex type containing an integer "index" property and any annotations associated with the indexed item.

      usage:

      myList@odata.collectionAnnotations : [
      {
      "index": 2,
      "@Core.ValueException" :

      { "value", "9223372036854775807"}

      "@custom.ProvidedBy" : "Bill"
      },

      { "index": 5, "@custom.NotAuthorized" : true }

      ],
      myList : [
      3,
      9223372036854776000,
      47,
      0,
      null,
      12
      ]
       

      Show
      Add a new JSON control information item, "collectionAnnotations". Value is a complex type containing an integer "index" property and any annotations associated with the indexed item. usage: myList@odata.collectionAnnotations : [ { "index": 2, "@Core.ValueException" : { "value", "9223372036854775807"} "@custom.ProvidedBy" : "Bill" }, { "index": 5, "@custom.NotAuthorized" : true } ], myList : [ 3, 9223372036854776000, 47, 0, null, 12 ]  
    • Show
      https://www.oasis-open.org/committees/download.php/65505/odata-json-format-v4.01-wd06-2019-06-20.docx  

      We don't have a way to annotate members of a primitive collection in JSON.

            Assignee:
            Michael Pizzo (Inactive)
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: