# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["version"] = version;
      obj["screen"] = screen;
      obj["palette"] = palette.toJson(config: config);
      obj["documentUuid"] = documentUuid;
      obj["pageUuid"] = pageUuid;
      obj["localization"] = localization.toJson(config: config);
      obj["appearance"] = appearance.toJson(config: config);
      obj["cropping"] = cropping.toJson(config: config);
      obj["documentAnalysisMode"] = documentAnalysisMode.name;
      return obj;
    }