JavaScript Variable to JSON

the code have this variable:

var t=new InfoBox;
        function o(map_property_link, map_property_image, map_property_neighborhood, map_property_address_street, map_property_price, i, s) {
            return'<a href="'+map_property_link+'" class="listing-img-container"><div class="infoBox-close"><i class="fa fa-times"></i></div><img src="'+map_property_image+'" alt=""><div class="rate-info"> <h5>$'+map_property_price+'</h5> <span>For Rent</span> </div><div class="listing-item-content"><h3>'+map_property_neighborhood+"</h3><span><i class='la la-map-marker'></i>"+map_property_address_street+"</span></div></a>"

var l=[[o("24_Property_Single.html", "assets/images/listing/1.jpg", "Grameen Sweets", "964 School Street, New York", "888.999,00"),
        23.72447089779572,
        90.42868673801422,
        1,
        '<i class="la la-home"></i>'],
        [o("24_Property_Single.html", "assets/images/listing/2.jpg", "Traditional Apartments", "212 5th Ave, New York", "777.999,00"),
        23.86009382,
        90.054245,
        2,
        '<i class="la la-home"></i>'],

How convert it to receive a json and not this variable?
I need receive this data of a JSON and supply the function
Thank You!