I would like to implement a menu "my account" in my project, this menu should show user data such as name, email etc, I am using jwt and the logged user data can be obtained in LocalStorage in this format: {"id":"598a8bc8b9dd44250819a7c4","name":"bruno","username":"kinge880","email":"[email protected]"}
I would like to know how to access this array and get the name inside it I am using nodejs, angular 4 and mongodb