fixed typo
take out the line that reports no error. We would never hit that line since we check that json_last_error() is not zero.
adjusted the validation logic to safely handle repeating hash's when the value is not passed in. The code would fail in a bad way if you neglected to pass in a value. Added a block to pass back the correct 'missing parameter' error.
excluding the curl class from unit testing
unit tests for the hash validator
unit tests for the jsontraits
unit test for regex patterns