title: Converting Object to JSON and JSON to Object in PHP, (library like Gson for Java)
body: <p>I am developing a web application in PHP,</p>
  
  <p>I need to transfer many objects from server as JSON string, is there any library existing for PHP to convert object to JSON and JSON String to Objec, like Gson library for Java.</p>