Is there a way to read and write data in an Angular 2 application to a JSON file?
No, this is not allowed.
However, you can use other ways to store your data. One of the options could use localStorage.
localStorage
Check out this article .
Source: https://habr.com/ru/post/1657170/More articles:C - Forward declaration for structure and function - cAndroid Glide Image does not appear on the first screen - androidHow do you print a function that returns a query in Python? - pythonUnable to understand delete process while writing todo list in AngularJS - javascriptWrap every three WordPress posts in a div - phpWhy doesn't Intellij release memory after closing a project? - intellij-ideaI need to wrap every 4 Wordpress posts in a div - phpUnable to create or install GO tools - goMeteor cursor ignores collation - javascripthow to implement OAuth 1.0a using modifications for woocomerce Api in android - androidAll Articles