fix datasource format

This commit is contained in:
Valentin Deniaud 2021-06-28 17:51:20 +02:00
parent 6f32ef3911
commit 4e8804bd43
1 changed files with 5 additions and 6 deletions

View File

@ -78,14 +78,13 @@
\item Structure très simple
\note[item]{Rendre une API compatible Publik, c'est facile !}
\end{itemize}
\begin{minted}[tabsize=4]{json}
\begin{minted}[tabsize=2]{json}
{
"err": 0,
"data": {
"text": "Donnée 1",
"id": 1,
"xxx": "clé supplémentaire"
}
"data": [
{"id": "1", "text": "rue du Château"},
{"id": "2", "text": "avenue du Maine"},
]
}
\end{minted}
\end{frame}