Every application on Palm webOS comes with an appinfo.json file that describes key information like it's title, where it's icon lives, and it's application ID. For some samples I'm doing, I'd like to write some comments in appinfo.json so people know where to change the values for their application. However, I spotted a way out. Deep in our documentation, we note that this file can contain other JSON attributes beyond what we specify. So, I realized that no one has to use those elements, and if you name them something ridiculous like "// c1", they're unlikely to ever conflict with an application's use. So now, I can write things like
{
"// c1": "The next attribute, id, defines the permanent ID for your program. Change it!",
"id" : "com.palmdts.example",
...
}without invoking the wrath of the JSON parsers.
