JSON.PARSE () Manejo de errores
try {
JSON.parse(input);
} catch (e) {
return undefined; // Or whatever action you want here
}
Infy Loop
try {
JSON.parse(input);
} catch (e) {
return undefined; // Or whatever action you want here
}