module-rest
module-rest copied to clipboard
How many build-in Filters do we have in jsonType feature
In the document, I could not find a list of build-in filters. I saw url
, date
and empty
if-blocks in the code, are they filters?
One more thing, do we have anything like json
/object
filter, just like what we have with array
, to detect whether the value part is a valid json object?
In the document, I could not find a list of build-in filters. I saw url, date and empty if-blocks in the code, are they filters
yes, and yes, they should be documented better. I will work on that
One more thing, do we have anything like json/object filter, just like what we have with array, to detect whether the value part is a valid json object?
right now array
replaces the object (as in JSON objects are PHP associative arrays). However, this may (should) be improved
Nowadays filters are documented here: https://codeception.com/docs/modules/REST#seeResponseMatchesJsonType
@Naktibalda @TavoNiievez I guess this issue can be closed?