private void WriteFontCharJson(JsonWriter output, string key, AgsFontChar c)
 {
     if (c == null || c.Width == 0 || c.Height == 0)
     {
         output.WriteNull(key);
         return;
     }
     using (output.BeginObject(key))
     {
         if (c.Width > 0 && c.Height > 0)
         {
             output.WriteValue("s", GameImageSheets.IndexOf(c.OwningSheet));
             output.WriteValue("n", c.EntryNumber);
             if (c.Advance != c.Width)
             {
                 output.WriteValue("a", c.Advance);
             }
         }
     }
 }
 private void WriteFontCharJson(JsonWriter output, AgsFontChar c)
 {
     WriteFontCharJson(output, null, c);
 }