This works, but I want to add to the JSON response before returning it to ensure Asynchronous responses (http://easyautocomplete.com/guide#sec-async). How can I add the inputphrase to existing JSON object before returning it? inputPhrase in the easyautocomplete docs would have the value stored in $SearchWord in my perl.my $tmp = $dbh->selectall_arrayref($query, { Slice => {} }, $SearchWor +d ); my $json_str = encode_json( $tmp );
In reply to Append JSON (from hashref) by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |