document new_from_json/2

fix #373
Merge pull request #396 from zkessin/master

document new_from_json/2