<divclass="hurl-file"><divclass="hurl-entry"><divclass="request"><spanclass="line"><spanclass="method">GET</span><spanclass="url">http://localhost:8000/assert-json</span></span></div><divclass="response"><spanclass="line"><spanclass="version">HTTP/1.0</span><spanclass="status">200</span></span><spanclass="line section-header">[Asserts]</span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">equals</span><spanclass="number">5</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">==</span><spanclass="number">5</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">equals</span><spanclass="number">5.0</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">notEquals</span><spanclass="number">4</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">!=</span><spanclass="number">4</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">greaterThan</span><spanclass="number">1</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">greaterThan</span><spanclass="number">1.0</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.count"</span><spanclass="predicate-type">>=</span><spanclass="number">1.0</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.success"</span><spanclass="predicate-type">equals</span><spanclass="boolean">false</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.success"</span> not <spanclass="predicate-type">equals</span><spanclass="null">null</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.success"</span><spanclass="predicate-type">exists</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.success"</span><spanclass="predicate-type">isBoolean</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors"</span><spanclass="query-type">count</span><spanclass="predicate-type">==</span><spanclass="number">2</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors"</span><spanclass="predicate-type">isCollection</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.warnings"</span><spanclass="query-type">count</span><spanclass="predicate-type">==</span><spanclass="number">0</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.toto"</span> not <spanclass="predicate-type">exists</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.warnings"</span><spanclass="predicate-type">exists</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.warnings"</span><spanclass="predicate-type">exists</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors[0]"</span><spanclass="predicate-type">exists</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors[0]"</span><spanclass="predicate-type">isCollection</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors[0].id"</span><spanclass="predicate-type">equals</span><spanclass="string">"error1"</span></span><spanclass="line"><spanclass="query-type">jsonpath</span><spanclass="string">"$.errors[0]['id']"</span><span