Comments in JSON?

SALT, SPICE, Subversion, etc...
Post Reply
User avatar
Phil Last
Posts: 628
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Comments in JSON?

Post by Phil Last »

I understand that no comments are permitted in standard JSON but that some "enhancements" may allow them.

Does the version used by 7159⌶ and if so what is the syntax?
Michael|Dyalog
Posts: 23
Joined: Thu Mar 02, 2017 4:29 pm

Re: Comments in JSON?

Post by Michael|Dyalog »

Phil, do you have any specific "enhancements" in mind that you are referring to?

From my own experience, I can only recommend to add "_Comments" or "{fieldname}_Comments", similar to the technique mentioned in this blog.
User avatar
Phil Last
Posts: 628
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Re: Comments in JSON?

Post by Phil Last »

Thanks Mike, I guess I misunderstood vis-à-vis the but.

I think Justin Kelly's suggestion will do. It's only for config files that're read-only so far as the application is concerned and that's permissive; it ignores stuff it doesn't recognise.
Post Reply