it showing [Object Object] instead of json data code example Example: json returning object object JSON.stringify(theObject)