Forum Discussion

GSKKV's avatar
GSKKV
New Contributor
12 years ago

Need help in validating Multiple JSON in Groovy script

Hi,

Could anyone plz help me in validating Multiple Jsons using groovy script.

Sample Json:

'[{"rangeStart": 0, "id": 0, "rangeEnd": "45", "fixedCost": 0, "unitCost": 0, "valid": true}, {"id": 1, "rangeStart": "45", "rangeEnd": "Unlimited", "fixedCost": 0, "unitCost": 0, "valid": true}]'

Thanks,
GSKKV.

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    Can you describe how / what kind of validation should be done? Not familiar with JSON.