add json interface

add json interface
Merge branch 'master' of https://github.com/jesgoo/interface