### ----------------------------------------------------
### -- Geo::Location
### -- Licenses: Artistic-2.0
### -- Authors: Tom Browder <tbrowder@acm.org>
### -- File: dev/Foo.rakumod
### ----------------------------------------------------
unit class Foo;

use JSON::Fast;

has $.a;
has $.b;

sub new-from-json(Str $jstr) {
    my %h = from-json $jstr;
    Foo.new(|%h);
}



