toJson method

String toJson()

Converts the ScraperConfig instance to a JSON string.

This method is used for serializing the configuration to JSON.

Returns:

  • JSON string containing all configuration data

Implementation

String toJson() {
  return jsonEncode(toMap());
}