how i can get the Size from my JSON File with jquery? here is the code and i need to save the size in a variable, i need it for a for-loop.
<script type="text/javascript">
var myArr = []
$.getJSON('daten.json', function(data) {
$.each(data,function(key,value) {
myArr.push("<li>" + value.Teilnehmer.Name ," ", value.Teilnehmer.Nachname + "</li>")
})
$('.content').html(myArr.join(''))
})
</script>