Re: Proposal: create XML based .gorm format: .xorm
R Frith-Macdonald <[email protected]> Tue, 21 Jul 2026 17:17:23 +0100
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Message-ID | <[email protected]> |
Using -[NSDictionary descriptionWithLocale:indent:] I think we can=20 already output a gorm file as a text property list with no indentation=20 (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=20 the lines representing the content of those containers. Having dictionaries sorted by key means that fields are present in a=20 consistent order. On 21/07/2026 16:41, Riccardo Mottola wrote: > David Wetzel via Discussion list for the GNUstep programming=20 > 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 >