isJson function

bool isJson(
  1. String str
)

Check if string is a valid JSON.

Implementation

bool isJson(String str) => _isJson(str);