values 1.0.0 copy "values: ^1.0.0" to clipboard
values: ^1.0.0 copied to clipboard

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

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.

1
likes
140
pub points
37%
popularity

Publisher

verified publisherhacker1024.tk

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on values