javascript json return object Object code example Example: json returning object object JSON.stringify(theObject)