I am reposting this question, don’t mark as duplicate. this is not duplicate of this question
I have a JSON
MyJson = {name:"file1",path:"d://photos/photo.jpg"}
I want to get photo.jpg in a const variable
const file: File = MyJson.path;
I want to perform multiple operations on file. If i can read it as dataURL then also that is fine. Please help me
How can i do this using javascript or angular?