How to get the following path value

node uploads the file. The returned value is in the following format, but cannot be parsed. How to get the path value

{ file:                     
   File {                   
     domain: null,          
     _events: {},           
     _eventsCount: 0,       
     _maxListeners: undefine
     size: 438,             
     path: "C:\\Users\\Felix
     name: "virtualpayment.c
     type: "application/vnd.
     hash: null,            
     lastModifiedDate: 2018-
     _writeStream:          
      WriteStream {         
        _writableState: [Wri
        writable: false,    
        domain: null,       
        _events: {},        
        _eventsCount: 0,    
        _maxListeners: undef
        path: "C:\\Users\\Fe
        fd: null,           
        flags: "w",         
        mode: 438,          
        start: undefined,   
        autoClose: true,    
        pos: undefined,     
        bytesWritten: 438,  
        closed: true } } }  

Apr.07,2021

what's wrong with this weird format.

case 1. Handling incorrect formats, such as

file:                     
   File { 
Change

to

file: { 

case 2. Use the regular expression

case 3. Let the backend send the correct Json (recommended)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bcc1-2c2ee.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bcc1-2c2ee.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?