JSON.PARSE () Obsługa błędów
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
}