Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support reading/writing OData 4.01 compatible JSON payloads #1037
OASIS has defined a 4.01 version of the OData JSON format with a number of simplifications. ODL should support reading/writing JSON format according to OData 4.01.
In PR #989 we added support for writing the new 4.01 delta format by specifying ODataVersion.401 in WriterSettings. In addition to supporting the new Delta format, we need to make sure that the generated JSON complies with additional 4.01 requirements. Specifically, when 4.01 is specified, the writer should:
In Addition, the ODataReader should support reading valid 4.01 payloads, including: