Autocomplete

Autocomplete

Hi there, i'm using autocomplete, for popolate an input with lastname
if I create the json with only lastname all is ok. But really I would add matricula, name, lastname in my json. 
So my json will be
{matricula:111, name:John, lastname:Doe}

I can create the json array, but I can't figure how use this json on autocomplete. 

Thanks for your help