eugene
eugene

Reputation: 550

Does Angular 2 have a way to store data in a JSON file?

Is there any way to read and write data in an Angular 2 application to a JSON file?

Upvotes: 4

Views: 1300

Answers (1)

Edmar Miyake
Edmar Miyake

Reputation: 12390

No, it is not allowed.

You could use other ways to store your data, though. One alternative would be using localStorage.

Take a look at this article.

Upvotes: 4

Related Questions