Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1315

Introduce CollectionAnnotation control information for JSON

    XMLWordPrintable

    Details

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

      Applied

    • Proposal:
      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 ]  
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/65505/odata-json-format-v4.01-wd06-2019-06-20.docx  

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo (Inactive)
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: