8 #include <Cutelyst/Plugins/View/json_export.h>
9 #include <Cutelyst/view.h>
13 class ViewJsonPrivate;
49 [[nodiscard]] JsonFormat outputFormat()
const;
54 void setOutputFormat(JsonFormat format);
73 [[nodiscard]] ExposeMode exposeStashMode()
const;
81 void setExposeStash(
const QString &key);
104 void setXJsonHeader(
bool enable);
109 [[nodiscard]]
bool xJsonHeader()
const;
A view that returns stash data in JSON format.
Abstract View component for Cutelyst.
The Cutelyst namespace holds all public Cutelyst API.