title: Making a PHP Object from a JSON Schema
body: <p>I've been tasked with creating a class for objects defined by a JSON schema. Initially I was just going to build the class based on the schema, but now I've been told it should be automatically generated from the schema itself.</p>
  
  <p>I want the class to have set/get methods for its members.</p>
  
  <p>What's the best way to go about this?</p>