String to JSON: Parse, Validate, and Handle Errors