The Notepad++ editor is the Swiss Army knife of text editing. With hundreds of plugins, the tool can be configured as an editor to almost any development workflow. In the previous post, we reviewed how to add comments to a JSON configuration file. We will now create a custom editor that supports those comments and the custom configuration keywords.
Continue reading
Tag Archives: Software Sagacity
Node.js – Adding comments to JSON files
Due to its tight coupling and interoperability with JavaScript, JSON has become the standard data transfer format for most JavaScript and Node.js applications. As opposed to its primary competitor format XML, JSON is much more compact and efficient for data transfer, and has a direct one-to-one mapping with the memory structures in the code. What JSON doesn’t enable, however, are comments in the JSON files.
Continue reading