Skip to content

mimib00/json2csv_dart

Repository files navigation

json2csv_dart

pub package

A library that help you convert list of json to a csv formatted string.

Getting Started

1. Install json2csv_dart package into your project

dart pub add dev:json2csv_dart

2. Import json2csv_dart package into your project

import 'package:json2csv_dart/json2csv_dart.dart';

3. Use json2csv_dart

    // call API or get json from file.

    final List<Map<String, dynamic>> data = [
    {...},
    {...},
    {...},
    {...},
    {...},
    ];

    final csv = const CSVConvertor().convert(data);

    // do with the output what you want.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published