Open ralfhandl opened 4 months ago
Whom would that benefit?
Existing clients knowing how to interpret "pure" XML annotations will be tripped up or forced learn parsing JSON and interpreting CSDL JSON annotations.
Unfortunately CSDL XML and CSDL JSON are not isomorphic, with differences preventing lossless round-tripping especially in the representation of annotations.
CSDL XML annotations can be quite verbose. E.g.
But Annotation can also be expressed in a much cleaner, more readable and less verbose form in CSDL JSON.
Proposal
Allow embedding CSDL JSON annotation values according to 14 Vocabulary and Annotation as CData in CSDL XML
Imported from ODATA-1597