For arrays of the same type, there's a function where you don't need to know the number:
my $typehint_persons = json_type_arrayof($typehint_person);
In reply to Re^2: Is there a way to make a JSON out of multiple records from MySQL?
by choroba
in thread Is there a way to make a JSON out of multiple records from MySQL?
by bartender1382
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |