Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
JsonView.h File Reference

View for rendering JSON using nlohmann::json, with automatic content type. More...

#include "framework/FrameworkView.h"
#include <nlohmann/json.hpp>
+ Include dependency graph for JsonView.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JsonView
 A view that renders structured JSON and returns "application/json" content type. More...
 

Detailed Description

Part of the PicoFramework view system. Can be used with HttpResponse::send(view) to return a structured JSON response.

Version
0.3
Date
2025-04-30
License:\n MIT License

Definition in file JsonView.h.