Skip to content

tomotaka/dart-ltsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dart-ltsv

LTSV(Labeled Tab-separated Values) format parser/dumper for Dart.

USAGE

import 'package:ltsv/ltsv.dart';

main() {
  // Parse from text
  Map map = LTSV.parse("hoge:foo\tbar:baz\ttime:20:30:58\n");
  //expect(map['hoge'], 'foo');
  //expect(map['bar'], 'baz');
  //expect(map['time'], '20:30:58');

  // Dump to line
  var line = LTSV.dump({
      'hoge': 'foo',
      'bar': 'baz',
  });
  //expect(line, "hoge:foo\tbar:baz\n");

}

SEE ALSO

LICENSE

MIT LICENSE

About

LTSV parser/dumper for Dart(dartlang)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages