How to Iterate JSON properties in TypeScript

后端 未结 5 2081
慢半拍i
慢半拍i 2020-12-20 06:00

My question is very simple, I have a following JSON Typescript Object and I like to Iterate trought the JSON properties

{\"work_type\":\"Fabricación\",\"work_t

5条回答
  •  感情败类
    2020-12-20 06:28

    unfortunately seems to be NOT working (with keyvalue) with ANGULAR_9

    see here for a comparison of full different way of doing: https://stackblitz.com/edit/angular9-iterate-on-object-attribute

    otherwise the answer by defining a method to do the job is still working.

提交回复
热议问题