cli
cli copied to clipboard
Added JSON input validation for CLI commands
Changes
Added JSON input validation for CLI commands
Relies on using dyn library.
Fixes #1769 #1764 #1625 #1560
Note: before json unmarshalling was not respecting ForceSendFields anyway (json.Unmarshal was used instead of marshal.Unmarshal) but it makes sense to address it now anyway.
To-do:
[x] Make sure we respect ForceSendFields
Tests
Added unit tests