Creates a StringMatch from JSON data.
StringMatch.fromJson(Map<String, dynamic> json) : this( exact: json['exact'], prefix: json['prefix'], regex: json['regex'], );