Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented 'required' struct tag #377

Open
FeldrinH opened this issue Aug 25, 2022 · 0 comments
Open

Undocumented 'required' struct tag #377

FeldrinH opened this issue Aug 25, 2022 · 0 comments

Comments

@FeldrinH
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant