Does jQuery have a JSON/javascript object to HTML pretty print function similar to PHP's var_dump?

前端 未结 3 1534
日久生厌
日久生厌 2021-02-05 11:44

Does jQuery have a JSON/Javascript object to HTML pretty print function similar to PHP\'s var_dump? If yes, what is it?

3条回答
  •  独厮守ぢ
    2021-02-05 12:15

    Using Jquery, you can have object.serialize() to output an object. This is similar to var_dump() in php or Zend_Debug::dump() in Zend.

提交回复
热议问题