jfsm 0.1.5

A command-line tool to read file system metadata then return it in JSON format (output and errors).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::outputer::Outputer;

pub struct JsonOutputer;

impl Outputer for JsonOutputer {
    fn output(&self, data: &str) -> String {
        // In this simple case, we just return the data as is
        // since it's already JSON formatted
        data.to_string()
    }
}