pub fn serialize_writeFile(data : &full_data ) -> Result<bool, modbus::Error> { // 1) takes data
// this function takes the m7_data object and serializes the contents and saves the results to a text
This README has some good examples. To deserialize in Rust: use serde::{Deserialize, Serialize};
use serde_json::Result;
#[derive(Serialize, Deserialize)]
struct Person {
name: String,
age: u