javascript - Flatten a key value pair in Rxjs 5 -


i have following json string being returned http request.

{   "rootid": "85cac01a90fe4203aae78523dc6cda41",   "subnode": {     "key1": [{         "internaldata1": "1",         "internaldata2": "2"       },       {         "internaldata1": "3",         "internaldata2": "4"       }     ],     "key2": [{         "internaldata1": "5",         "internaldata2": "6"       },       {         "internaldata1": "7",         "internaldata2": "8"       }     ]   } } 

i using rxjs 5 , want flatten dataset , return values follows

{   "internaldata1": "1",   "internaldata2": "2" }, {   "internaldata1": "3",   "internaldata2": "4" }, {   "internaldata1": "5",   "internaldata2": "6" }, {   "internaldata1": "7",   "internaldata2": "8" } 

what operator me it?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -