chancancode / json_expressions

JSON matchmaking for all your API testing needs.
MIT License
415 stars 38 forks source link

how to set certain keys as optional? #32

Open sbsabapathi opened 8 years ago

sbsabapathi commented 8 years ago

Hello, I have constructed a pattern and using it to match the json lines. However I have some keys which are optional. i.e may or may not be present in json. How can we make it optional in pattern?