Update a single property of local JSON file using put call in Angular 8

前端 未结 3 736
野性不改
野性不改 2021-01-27 16:11

I want to update my JSON file which I have placed in my assets folder, so If I am updating just one property of my JSON object so it should update that property only, without af

3条回答
  •  轮回少年
    2021-01-27 16:52

    You can't change the content of JSON file directly through angular, you need the Backend in order to reflect the change on that JSON file.

提交回复
热议问题