Search
Use JSON.stringify() to convert the object adminDetails into a JSON string.
JSON.stringify()
adminDetails
For example: