mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 10:12:50 +00:00
JSON serialization refactor (#4331)
This commit is contained in:
8
src/serialization/MeshPacketSerializer.h
Normal file
8
src/serialization/MeshPacketSerializer.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <meshtastic/mesh.pb.h>
|
||||
#include <string>
|
||||
|
||||
class MeshPacketSerializer
|
||||
{
|
||||
public:
|
||||
static std::string JsonSerialize(meshtastic_MeshPacket *mp, bool shouldLog = true);
|
||||
};
|
||||
Reference in New Issue
Block a user