Re:Son: A minimal subset of JSON for machine-to-machine comm...
by gregmac on Sunday December 10, 2017 @12:34PM
(#15892423)
This is what unit testing is for. Test the methods that validate and return your expected object structures. This catches other things like a structure changing (as simple as a property being modified), ensuring you can handle malformed input (even if it's valid JSON) and any other data validation rules you have.
[ Parent
| on HN ]
There are no comments on this comment yet.