Allow inclusion of "untyped JSON" into JSON requests and responses

    • Hide

      Allow JSON payloads to contain "untyped JSON" in addition to OData declared and open properties.

      Add annotation for structured types that announce the potential presence of untyped JSON, either as a tagging term or by explicitly listing the names of the "untyped JSON" properties:

      <Annotation Term="Xxx.ContainsUntypedJSON" />

      Or

      <Annotation Term="Xxx.ContainsUntypedJSON">
      <Record>
      <PropertyValue Property="Properties">
      <Collection>
      <String>opaqueJsonProperty</String>
      <String>Another-untyped/JSON;Property{with:a#weird name</String>
      </PropertyValue>
      </Collection>
      </Record>
      </Annotation>

      Allow clients to tell whether they are willing to receive "untyped JSON" via a new preference odata.allow-untyped-json.

      Show
      Allow JSON payloads to contain "untyped JSON" in addition to OData declared and open properties. Add annotation for structured types that announce the potential presence of untyped JSON, either as a tagging term or by explicitly listing the names of the "untyped JSON" properties: <Annotation Term="Xxx.ContainsUntypedJSON" /> Or <Annotation Term="Xxx.ContainsUntypedJSON"> <Record> <PropertyValue Property="Properties"> <Collection> <String>opaqueJsonProperty</String> <String>Another-untyped/JSON;Property{with:a#weird name</String> </PropertyValue> </Collection> </Record> </Annotation> Allow clients to tell whether they are willing to receive "untyped JSON" via a new preference odata.allow-untyped-json.
    • Show
      NO ACTION: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/57676/latest/odata-meeting-122_on-20160302_03-F2F_minutes.html

      JSON allows more flexibility than OData, e.g. arrays that mix primitive values, objects, and other arrays, or property names that aren't SimpleIdentiifers.

      Some extension scenarios for OData services require adding JSON data to requests and responses that cannot be modeled with OData means.

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: