title: How to make Json.stringify ignore certain class memebers?
body: <p>I'm using the latest Haxe and HaxeFlixel to make a simple game prototype.</p>
  
  <p>I have the following class...</p>
  
  <pre><code>class GameData
  {
      public var playerHealth: Int;
      public var playerScore: Int;    
  
      public var levelName: String;
  
      public function new(playerHealth: Int = 0, playerScore: Int = 0, levelName: String = "")
      {
          this.playerHealth = playerHealth;
          this.playerScore = playerScore;
  
          this.levelName = levelName;
      }
  }
  </code></pre>
  
  <p>I convert it to JSON as follows...</p>
  
  <pre><code>Json.stringify(new GameData(64, 512, "Level 1"));
  </code></pre>
  
  <p>Is there's a way I can make it so the stringify ignores certain members?</p>