optimize
optimize
add writeJson method
call callback function when error
fix #78
Merge branch 'master' of github.com:ecomfe/edp