On 04/05/2021 17:32, Gyan Doshi wrote: > No. It's to allow consumers of these writers to discover and access all > fields if they choose to. > > It's an obstacle I faced in a recent project.
For XML, the correct way to do that is to use the XSD in the doc/ directory. That's how XML is supposed to work. For JSON, we could provide a JSON schema maybe, but I agree JSON is kinda crappy for that. Not blocking the patch, just thought I'd point out there's a canonical way for XML. - Derek _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".