Describe:
After I sent my file to the server, the server sent me an answer.
Answer in JSON format.
My code:
function getResponse(){
const response = localStorage.getItem('response');
const data = JSON.parse(response);
console.log('My data: ',data.data.data.results.adaware.objects.nhm_windows_3.0.8.2.exe.detect_name);
}
Server answer:
Question:
How do I access the file name in the code
Example: console.log('My data: ',data.data.data.results.);
( Also, the file name will constantly be changing )
I want to consult with people about the best practices for solving my problem.
Please do not dislike my question, and do not write that it has already happened.
I need help with mine in the use case.
Thank you and have a nice day!