
\begin{DoxyItemize}
\item infos = Information about the yawn plugin is in keys below
\item infos/author = René Schwaiger \href{mailto:sanssecours@me.com}{\tt sanssecours@me.\+com}
\item infos/licence = B\+SD
\item infos/needs = directoryvalue yamlsmith
\item infos/provides = storage/yaml
\item infos/recommends =
\item infos/placements = getstorage
\item infos/status = maintained unittest preview experimental unfinished nodoc concept discouraged
\item infos/metadata =
\item infos/description = This storage plugin use a Early parser to read Y\+A\+ML files
\end{DoxyItemize}\hypertarget{md_src_plugins_yawn_README_src_plugins_yawn_README_md}{}\section{Y\+Awn}\label{md_src_plugins_yawn_README_src_plugins_yawn_README_md}
\subsection*{Introduction}

This plugin uses \href{https://github.com/vnmakarov/yaep}{\tt Y\+A\+EP} to parse \href{http://yaml.org}{\tt Y\+A\+ML} data.

\subsection*{Dependencies}

This plugin requires \href{https://github.com/vnmakarov/yaep#installing}{\tt Y\+A\+EP}.

\subsection*{Examples}

\subsubsection*{Mappings}


\begin{DoxyCode}
# Mount plugin
sudo kdb mount config.yaml user/tests/yawn yawn

# Set and retrieve some basic values
kdb set user/tests/yawn 'is obviously a move introduced in Generation III of Pokemon' # Source: Bulbapedia
kdb set user/tests/yawn/ing 'is something similar'

kdb get user/tests/yawn/
#> is obviously a move introduced in Generation III of Pokemon
kdb get user/tests/yawn/ing
#> is something similar

kdb ls user/tests/yawn
#> user/tests/yawn
#> user/tests/yawn/ing

# Undo modifications
kdb rm -r user/tests/yawn
sudo kdb umount user/tests/yawn
\end{DoxyCode}


\subsubsection*{Arrays}


\begin{DoxyCode}
# Mount plugin
sudo kdb mount config.yaml user/tests/yawn yawn

kdb set user/tests/yawn/movies
kdb set user/tests/yawn/movies/#0 'YAwn I: Time to Wake Up'
kdb set user/tests/yawn/movies/#1 'YAwn II: The Awakening'
kdb set user/tests/yawn/movies/#2 'YAwn III: The Sleepover'
kdb set user/tests/yawn/movies/#3 'YAwn IV: YAwn Again'

# Retrieve last array index
kdb getmeta user/tests/yawn/movies array
#> #3

kdb get user/tests/yawn/movies/#1
#> YAwn II: The Awakening

# Undo modifications
kdb rm -r user/tests/yawn
sudo kdb umount user/tests/yawn
\end{DoxyCode}


\subsection*{Limitations}

The plugin has the same limitations as \hyperlink{md_src_plugins_yambi_README_src_plugins_yambi_README_md}{Y\+A\+M\+Bi }. 