easyjson icon indicating copy to clipboard operation
easyjson copied to clipboard

Undocumented 'required' struct tag

Open FeldrinH opened this issue 3 years ago • 0 comments

Looking at the tests and some old issues in this repo suggests that there is support for a json:",required" struct tag to make the parser check that a field is present in the input json, however this feature does not appear to be documented.

Is this in fact a supported feature and if so, why is it not documented?

FeldrinH avatar Aug 25 '22 22:08 FeldrinH