fix datasource format
This commit is contained in:
parent
6f32ef3911
commit
4e8804bd43
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue