Doc and json

pull request for doc and json (requirement)