OpenXJsonSerDe.fromJson constructor

OpenXJsonSerDe.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory OpenXJsonSerDe.fromJson(Map<String, dynamic> json) {
  return OpenXJsonSerDe(
    caseInsensitive: json['CaseInsensitive'] as bool?,
    columnToJsonKeyMappings:
        (json['ColumnToJsonKeyMappings'] as Map<String, dynamic>?)
            ?.map((k, e) => MapEntry(k, e as String)),
    convertDotsInJsonKeysToUnderscores:
        json['ConvertDotsInJsonKeysToUnderscores'] as bool?,
  );
}