JSON Validation

HI,
i get my data in JSON format, i want to check JSON data i am getting is
Valid or not. How i can do this in ruby on rail

Thanks & Regards,

Rama