You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a bool parameter to indicate whether property is required forces every returned property to be wrapped in a std::optional. This requires additional value() calls which make the code more verbose and harder to read.
Reasoning for new functionality
Make code more readable and less verbose
The text was updated successfully, but these errors were encountered:
paulbourelly999
changed the title
Add separate functions for required and optional parameters
Add separate functions for required and optional properties in JSON Utils
Oct 12, 2023
Summary
Using a bool parameter to indicate whether property is required forces every returned property to be wrapped in a std::optional. This requires additional value() calls which make the code more verbose and harder to read.
Reasoning for new functionality
Make code more readable and less verbose
The text was updated successfully, but these errors were encountered: