Serialize::Tiny

A very simple `serialize` sub to get public attribute values

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}

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.