Skip to content

shanyungyang/moneydance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

moneydance-rs

Moneydance is a financial software made by The Infinite Kind. This crate can read raw JSON file exported from Moneydance so you can easily transfer your financial data to another software.

Sample Code

extern crate moneydance;

use std::fs::File;

fn main() {
    let input = File::Open("exported_data.json").unwrap();
    let db = moneydance::Database::load(input).unwrap();
    
    println!("Read {} accounts:", db.accounts.len());
    
    for (_, account) in &db.accounts {
        println!("{}", account.name);
    }

    println!("Read {} transactions.", db.transactions.len());
}

About

Import Moneydance financial data with Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages