-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utilizando filtros para criar json em include
- Loading branch information
1 parent
ed56d05
commit 977d0b0
Showing
4 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,13 @@ | |
nome: "Estabelecimento Com E-mail" | ||
email: "[email protected]" | ||
telefone: "5541988024599" | ||
whatsapp: "" | ||
endereco: | ||
logradouro: "Rua Teste, 3157" | ||
bairro: "Sítio Cercado" | ||
cidade: "Curitiba" | ||
uf: "PR" | ||
categoria: [ "mercado", "padaria", "açougue" ] | ||
categoria: | ||
- mercado | ||
- padaria | ||
- açougue | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
--- | ||
nome: "Estabelecimento Com Whattsapp" | ||
email: "" | ||
telefone: "5541988024599" | ||
whatsapp: "5541988024599" | ||
endereco: | ||
logradouro: "Rua Teste, 3157" | ||
bairro: "Sítio Cercado" | ||
cidade: "Curitiba" | ||
uf: "PR" | ||
categoria: [ "ferragem", "hortifruti", "padaria", "açougue" ] | ||
categoria: | ||
- ferragem | ||
- hortifruti | ||
- padaria | ||
- açougue | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": {{ include.id | jsonify }}, | ||
"nome": {{ include.est.nome | jsonify }}, | ||
"email": {{ include.est.email | jsonify }}, | ||
"telefone": {{ include.est.telefone | jsonify }}, | ||
"whatsapp": {{ include.est.whatsapp | jsonify }}, | ||
"endereco": {{ include.est.endereco | jsonify }}, | ||
"categoria": {{ include.est.categoria | jsonify }} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters