How to send an array(object) as plain text?

I want to get an associative array (object) as plain text using the append command
var test_array = {
"things":{
"equipment":{
"car":{
 "id1": "00",
 "id2": "01" 
},
"engine":{
 "id3": "02",
 "id4": "03" 
}
},
"organics":{
"flor":{
 "id5": "04",
 "id6": "05" 
},
"mushrooms":{
 "id7": "06",
 "id8": "07" 
}
},
"organicws":["number",990.00,999999,"Table","/rt","02.JPG"],
"organicw":"uh"
}
};
$('div').append(test_array.html);

How can I do it?
March 20th 20 at 11:21
1 answer
March 20th 20 at 11:23
Solution
$('div').append(JSON.stringify(test_array));

Find more questions by tags JavaScript