private void WriteFontJson(JsonWriter output, string key, AgsFont font)
 {
     if (font == null)
     {
         output.WriteNull(key);
         return;
     }
     using (output.BeginObject(key))
     {
         using (output.BeginArray("chars"))
         {
             foreach (AgsFontChar c in font.Chars)
             {
                 WriteFontCharJson(output, c);
             }
         }
     }
 }
 private void WriteFontJson(JsonWriter output, AgsFont font)
 {
     WriteFontJson(output, null, font);
 }