$(document).ready(function() {
$('#rank').DataTable( {
ajax: {
url: 'table/datos.php',
type: 'POST',
dataType: 'json',
columns :[
{data: 'nombre'},
{data: 'atributo.assists'},
{data: 'atributo.bestRankPoint'},
{data: 'atributo.boosts'},
{data: 'atributo.dBNOs'},
{data: 'atributo.dailyKills'},
{data: 'atributo.dailyWins'},
{data: 'atributo.damageDealt'},
{data: 'atributo.days'},
{data: 'atributo.headshotKills'},
{data: 'atributo.heals'},
{data: 'atributo.killPoints'},
{data: 'atributo.kills'},
{data: 'atributo.longesstKill'},
{data: 'atributo.longestTimeSurvived'},
{data: 'atributo.losses'},
{data: 'atributo.maxKillStreaks'},
{data: 'atributo.mostSurvivalTime'},
{data: 'atributo.rankPoints'},
{data: 'atributo.rankPointsTitle'},
{data: 'atributo.revives'},
{data: 'atributo.rideDistance'},
{data: 'atributo.roadKills'},
{data: 'atributo.roundMostKills'},
{data: 'atributo.roundsPlayed'},
{data: 'atributo.suicides'},
{data: 'atributo.swimDistance'},
{data: 'atributo.teamKills'},
{data: 'atributo.timeSurvided'},
{data: 'atributo.top10s'},
{data: 'atributo.vehicleDestroys'},
{data: 'atributo.walkDistance'},
{data: 'atributo.weaponsAcquired'},
{data: 'atributo.weeklyKills'},
{data: 'atributo.weeklyWins'},
{data: 'atributo.winPoints'},
{data: 'atributo.wins'},
]
},
} );
} );
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!DOCTYPE<script html>src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<html<script lang="es">
<head>src="https://cdn.datatables.net/buttons/1.5.6/js/dataTables.buttons.min.js"></script>
<meta<script charset="UTF-8">src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.flash.min.js"></script>
<script <title>Rank<src="https:/title>/cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js"></script>
<link href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" rel="stylesheet">
<link href="https://cdn.datatables.net/buttons/1.5.6/css/buttons.dataTables.min.css" rel="stylesheet">
</head>
<body>
<table id="rank" class="display" style="width:100%">
<thead>
<tr>
<th>Asistencias</th>
<th>BestRankPoint</th>
<th>Boost</th>
<th>dBNOs</th>
<th>dailyKills</th>
<th>damageDealt</th>
<th>days</th>
<th>headshotKills</th>
<th>heals</th>
<th>killPoints</th>
<th>kills</th>
<th>longestKill</th>
<th>longestTimeSurvived</th>
<th>losses</th>
<th>maxKillStreaks</th>
<th>mostSurvivalTime</th>
<th>rankPoints</th>
<th>rankPointsTitle</th>
<th>revives</th>
<th>rideDistance</th>
<th>roadKills</th>
<th>roundMostKills</th>
<th>roundsPlayed</th>
<th>suicides</th>
<th>swimDistance</th>
<th>teamKills</th>
<th>timeSurvived</th>
<th>top10s</th>
<th>vehicleDestroys</th>
<th>walkDistance</th>
<th>weaponsAcquired</th>
<th>weeklyKills</th>
<th>weeklyWins</th>
<th>winPoints</th>
<th>wins</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</tfoot>
</table>
</body>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.flash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js"></script>
<script src="table/datatablerank.js"></script>
</html>