Hello, I've been asking a lot of questions, which seem basic, but it makes me confused, so better ask, lol.
I would like to know how the .json file works in a project, what it does.
Thank you!
Hello, I've been asking a lot of questions, which seem basic, but it makes me confused, so better ask, lol.
I would like to know how the .json file works in a project, what it does.
Thank you!
JSON is a structure similar to XML, notation, which can be recognized through javascript, which can basically contain values, arrays and objects, you can check more information here: What is JSON? What is it good for and how does it work?
You can read through several ways, here is an example in jQuery:
$.getJSON('arquivo.json', function(data) {
//aqui exibe seu retorno no console do navegador
console.log(data);
}