How to convert objects into strings in js

how to convert the following to a string

var pageListSize = {"pageNo":this.currpage,"pageSize":this.pagesize}
   
Mar.29,2022

  

Baidu is a big deal. Are the json methods JSON.parse () and JSON.stringify ()

Menu