 argantonis
Member
|
Hello,
I was wondering if there are plans to add a JSON scheme to Programmer’s Notepad. I noticed that more and more people are starting to use JSON instead of XML for simple datastructures. I really love PN but this is one thing I have to keep using editpad pro for. Or should I just use the Javascript scheme?
|
 simon
Key Master
|
The javascript scheme looks to work ok for Json to me, is there something it’s not doing right?
|
 Patabugen
Member
|
Just thought I’d clarify, JSON is a JavaScript syntax rather than a syntax of it’s own which is why the JavaScript scheme should be perfect (and correct to use).
|
 horus
Member
|
People tend to use .json for JSON data files, so PN2 should also switch to JavaScript scheme when it opens a .json file.
I’ve just compared PN2 to Editpad Pro with json file, as far as syntax highlighting is concerned, there’s not much difference.
On the other hand, I don’t know if it’s possible to enable code-folding for [.....] in JavaScript, thus JSON.
|
 Nux
Member
|
Personally I’ve never seen a statical JSON file (with JSON formed data alone), but if you want you can easily add .json extension to JavaScript scheme in settings.
|
 horus
Member
|
Yeah, in production, it’s very rare to find JSON file. But during development, it’s quite common to use JSON files to simulate server live data.
|