# works print $ref->{incident}->{'GDOT-INC-260089'}->{location}->{county}->{content} . "\n"; # doesnt work print $ref->{'incident'}->[0];