Does Angular have any native functions to flatten JSON data, and then nest it back up? I see code below, just curious if Angular has any embedded library functions. Otherwise I will copy and paste this function into our library.
            Asked
            
        
        
            Active
            
        
            Viewed 3,590 times
        
    1 Answers
1
            The answer is no. Angular doesn't have that, but RxJs could have something that you can find useful.
Best way to "flatten" an array inside an RxJS Observable
http://alanpryorjr.com/2019-05-15-rxjs-flattening-operators/
 
    
    
        Patricio Vargas
        
- 5,236
- 11
- 49
- 100