isJson method
Implementation
bool isJson() {
try {
json.decode(this.validate());
} catch (e) {
return false;
}
return true;
}
bool isJson() {
try {
json.decode(this.validate());
} catch (e) {
return false;
}
return true;
}