I am creating an application with Spring Boot and
Angular. I was able to do a get request to get data from the database, but it puts it into a JSON format when I get it. How do I get those individual values and store them into objects?
That's my typescript code. The data it sends back looks like this....
{id: 1, schoolName: "Enrico Fermi High School", userName: "enfermi1", password: "dummy", students: Array(2)}
How do I take those individual items, such as schoolName, and store it into a typescript variable?