How to return "Json redeable" in for side client?

Hello, how to return print* row per row item inventory player ?

My Server Side :

RegisterServerEvent('infinity_survivalkit:vaultitemsplayer')
AddEventHandler('infinity_survivalkit:vaultitemsplayer', function()

    local _source       = source
    TriggerEvent('redemrp:getPlayerFromId', _source, function(user)

        local userid            = user.getIdentifier()  -- Get Identifier Player

        MySQL.Async.fetchAll('SELECT items FROM user_inventory WHERE `identifier`[email protected]',
        {
            ['identifier']  = userid
        }, 
        function(itemsplayers)
            --print("total: "..itemslist[1].quantity)
            --print(#itemslist) -- Show Count
            --print(json.encode(itemsplayers)) -- Show List of Users
            --print(json.decode(itemsplayers[1].items))
            itemsplayers = json.encode(itemsplayers)
            TriggerClientEvent('infinity_survivalkit:returnvaultitemsplayer', _source, itemsplayers)
        end)

    end)
end)

My Client Side : (error lua is not working)
Return this >

RegisterNetEvent('infinity_survivalkit:returnvaultitemsplayer')
AddEventHandler('infinity_survivalkit:returnvaultitemsplayer', function(itemsplayers)

    for i = 1, #itemsplayers, 1 do
        print(i[name])
    end
    
end)

I need print this result :

Bread
Water
Sausage

Thanks for helping :wink:

Fixed my solution is for the future dev needed :wink:

server file

   listitems = json.decode(itemsplayers[1].items)

            --[[for i=1, #listitems, 1 do
                listdecoded = listitems[i].name
            end]]
           
            TriggerClientEvent('infinity_survivalkit:returnvaultitemsplayer', _source, listitems)
        end)

client file

AddEventHandler('infinity_survivalkit:returnvaultitemsplayer', function(listitems)
    
    for i=1, #listitems, 1 do
        print(listitems[i].name)
    end