pile conditional json"
if (defined $struct && ! ref $struct && $struct eq 'compiled_null');
return $struct;
}
sub instantiate_hash {
return ();
}
sub itterate {
my ($self, $json, $params) = @_;
ref = ref $json;
if ($ref eq 'HASH') {
$json = $self->loops(
$self->conditionals($json, $params),
$params
);
for my $key ( keys %{$json} ) {
my $value = $self->itterate($json->{$key},
? delete $json->{$key}
: do {
$json->{$key} = $value;
};
}
return keys %{$json} ? $json : 'compiled_null';
} elsif ($ref eq 'ARRAY') {
my $i = 0;
for my $item (@{ $json }) {
m