added some functions for JSON web service
err=*next in setValue
Merge pull request #9 from BasisHub/master

merge from master