Skip to content

A Dart Codec implementation that serializes and deserializes key-value pairs with an = separator.

License

Notifications You must be signed in to change notification settings

hacker1024/values.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Values

A Codec implementation that serializes and deserializes key-value pairs with an = separator.

Example

Input:

{
  'Value1': 'A',
  'Value2': 'B',
  'Value3': 'C',
}

Output:

Value1=A
Value2=B
Value3=C

Usage

See the example for example usage. The standard Codec interface is implemented by ValuesCodec.

Roadmap

  • Chunked conversions

Motivation

This method of serialization is common in APIs and preference storage.
I don't recommend you use this if you're designing an API or storing your own preferences; formats like JSON, XML and YAML are much better for that kind of thing. This package is useful for using this format when you have no other choice.

About

A Dart Codec implementation that serializes and deserializes key-value pairs with an = separator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages