04-07-2020 02:35 PM
@Mark_Yedinak wrote:
@paul_cardinale wrote:
I put config info in classes, then save the class to XML to get the benefit of automutation.
Doesn't saving the class as XML add a bunch of other stuff to the XML? I try to avoid putting too much extra stuff in config files that the user may muck with and end up breaking something. And if it has LabVIEW class stuff included, this makes the XML file much more LabVIEW specific and not as generic.
Either way, I still prefer JSON over XML.
Yes, there is extra class stuff. But I consider automutation a huge advantage.
I don't edit the XML files with a text editor, I always build a nice editor into the class (it's not hard).