Serialize::Tiny perl6 module.
Perl6
Latest commit 7f35026 Dec 30, 2016 @vendethiel committed on GitHub Merge pull request #6 from ronaldxs/patch-1
Update README.md

README.md

Serialize::Tiny

A very bare-bones module that serializes an instance's public attributes.

Examples

class A {
  has $.pub;
  has $!priv;
}

use Serialize::Tiny;
say serialize(A.new(:5pub));
#=> {pub => 5}