Vincent Parrett 909 Posted September 30 FWIW, I pushed some changes today that dramatically improve the peformance ( 3-5x faster parsing, 10x faster writing!) There are also new JSONMode parser option which enables parsing more json files, such as ones that use tabs instead of spaces (tabs are not allowed in json). JSONMode is also more strict when it comes to numbers - json does not allow hex/octal/binary number representations that YAML allows. 8 Share this post Link to post
Kas Ob. 160 Posted October 2 On 9/30/2025 at 1:17 PM, Vincent Parrett said: There are also new JSONMode parser option which enables parsing more json files, That is really nice! Now, my out of blue question, Would you consider an XMLMode ? I tried few online converters for XML to JSON and vice versa, namely using the dproj file, most of them generated and used specific pattern to recognize and differentiate between attributes and the value, yet using "__" would be nice for the value, though some used one "_" for the attributes, in any case and in a feeble way to seduce you to consider supporting XML, try it with dproj data and see how it looks in YAML, it will remove the need for tools/editors like Notpad++ to investigate an XML. and thank you for this. Share this post Link to post
Vincent Parrett 909 Posted October 2 1 minute ago, Kas Ob. said: Would you consider an XMLMode ? Lol absolutelty not! XML is a very different beast - adapting the library to json was relatively easy - xml is completely different and would make the code a mess. It wouldn't be too hard to write an xml -> json/yaml converter but it's not something I have a need for and my time is already oversubscribed! FWIW, I have written an xml parser before in the late 90's before msxml was released - was going to make it a commercial product but Ms stole my thunder making msxml free. My parser was faster but used more memory and a different syntax to xpath (xpath wasn't really a thing then). Sadly I can no longer find the source code - I probably wouldn't like the code anyway - I've learned a thing or two about coding and lexers/parsers in general. 2 Share this post Link to post