json-encode

json-encode is a compiled Lisp function in `json.el'.

(json-encode OBJECT)

Return a JSON representation of OBJECT as a string.