Hello,
How to write a test script to validate the JSON data members are listed alphabetically. Would like to make this as a generic script so that this can be used with any JSON data result.
Example:
{
“name”: “Jane”,
“age”: 29,
“hobbies”: [
“skating”,
“painting”
],
“email”: null
}
The above result will fail since name, age, hobbies and email are not listed alphabetically.
TY