http://www.perlmonks.org?node_id=1049049


in reply to Re: Merging multiple JSON files into one using JSON::XS
in thread Merging multiple JSON files into one using JSON::XS

$uuts->{People} = \@fields; yields the same thing, and $uuts->{People} = @fields; yields what you see below:
{ "People" : 24 }
:)