This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from beancount import loader | |
from beancount.core.amount import Amount | |
from beancount.core.number import Decimal | |
from datetime import date | |
import json | |
import sys | |
def json_serial(obj): | |
if isinstance(obj, date): |