svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

How to compare whole json response semantically? #288

Open ghost opened 6 years ago

ghost commented 6 years ago

Is there some hidden feature with which I can compare the whole json response semantically, instead of comparing the string value? That is,

{
    "test1": 1,
    "test2": 2
}

should equal

{
    "test2": 2,                                  "test2": 1     }
tgerakitis commented 6 years ago

I've also stumbled upon this question. Is there any information on this?