Serialize::Tiny perl6 module.
Perl6
Switch branches/tags
Nothing to show
Latest commit 128457c Apr 25, 2017 @vendethiel committed on GitHub Merge pull request #7 from zoffixznet/patch-1
Use modern META filename

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}