Using -[NSDictionary descriptionWithLocale:indent:] I think we can already output a gorm file as a text property list with no indentation (and it sorts dictionary content by key).

I suspect that format would be highly suitable for diff:

Using no indent means that adding enclosing containers doesn't change the lines representing the content of those containers.

Having dictionaries sorted by key means that fields are present in a consistent order.

On 21/07/2026 16:41, Riccardo Mottola wrote:
David Wetzel via Discussion list for the GNUstep programming environment wrote:
I feel like XML is a format from the past. Why not use a JSON based one?

I would use neither, I would just use plists, our native format.
Actually, probably both plist as XML-encoded plists would work.

JSON is just a bad plist :) and has absolutely no type encoding.

Riccardo


  • P... [email protected]
    • ... David Wetzel via Discussion list for the GNUstep programming environment
      • ... Daniel Santos
      • ... Riccardo Mottola
        • ... R Frith-Macdonald
          • ... Gregory Casamento
            • ... R Frith-Macdonald
              • ... Gregory Casamento
            • ... Katalin Rebhan
        • ... David Wetzel via Discussion list for the GNUstep programming environment
    • ... H. Nikolaus Schaller
    • ... Graham Lee
    • ... Riccardo Mottola

Reply via email to