I am building a new API service in NodeJS and the API that I calling is returning me JSON but all the keys start with uppercase. Example AccountNumber: '2342222'. I want to convert that so its accountNumber. Is there a library that will do this for me or do I need to loop through and update each one?
            Asked
            
        
        
            Active
            
        
            Viewed 96 times
        
    0
            
            
         
    
    
        jrock2004
        
- 3,229
- 5
- 40
- 73
- 
                    There is the camelCase piece which is a duplicate, but there is also an Object Mapping over keys piece – akaphenom Mar 27 '18 at 15:54
- 
                    @ben-fortune That link is for converting any string. I am working with JSON data. – jrock2004 Mar 27 '18 at 16:51
- 
                    @jrock2004 It's the same, your key is a string. – Ben Fortune Mar 27 '18 at 21:32