HTML json editor

Can anyone suggest me a plugin or library for a json editor for html. my requirement is there should be a input field such as a text area which can have json formatted data.