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

Base model class for persistent JSON collections. More...

#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include <optional>
#include "storage/JsonService.h"
#include "storage/StorageManager.h"
#include "framework/AppContext.h"
+ Include dependency graph for FrameworkModel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FrameworkModel
 Provides a basic JSON-backed record model. More...
 

Typedefs

using json = nlohmann::json
 

Detailed Description

Author
Ian Archbell

Part of the PicoFramework application framework. This module provides the FrameworkModel class, which abstracts the loading, saving, and manipulation of JSON records stored in an array format. Provides CRUD operations for JSON array records stored using the JsonService abstraction. Designed for embedded use with SD or flash-backed storage.

Version
0.1
Date
2025-03-31
License:\n MIT License

Definition in file FrameworkModel.h.

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 20 of file FrameworkModel.h.