Determining if JSON is a valid pyui file
Webmaster4o last edited by Webmaster4o
When I'm outside of Pythonista, what are defining characteristics of pyui files that I might use to separate these from other JSON files?
Olaf last edited by Olaf
('class', 'View')as one of its items and
'frame'as another key would be pretty telling. But it wouldn't provide 100% absolute dead-sure unmistakable certainty, I'm afraid, so don't use this if trying to control a nuclear reactor or pacemaker
Webmaster4o last edited by
@Olaf lol, thanks. No nuclear reactors, so I'm good.
Phuket2 last edited by
@Webmaster4o , maybe not what you are looking for, but couldn't you write an extra key out to the files. I assume they would be ignored by Pythonista