What is the fastest way to turn an object's public properties into JSON

前端 未结 0 837
甜味超标
甜味超标 2020-11-28 01:19

My use case:

  • Select 500 rows from a database using PDO.
  • Turn off emulation mode to fetch native data types
  • Use fetchObject(\'ClassName\'
相关标签:
回答
  • 消灭零回复
提交回复
热议问题