Comments in JSON?

SALT, SPICE, Subversion, etc...

Comments in JSON?

Postby Phil Last on Sat Apr 22, 2017 9:40 am

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?
User avatar
Phil Last
 
Posts: 624
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Re: Comments in JSON?

Postby Michael|Dyalog on Sun Apr 23, 2017 3:39 pm

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.
Michael|Dyalog
 
Posts: 23
Joined: Thu Mar 02, 2017 4:29 pm

Re: Comments in JSON?

Postby Phil Last on Mon Apr 24, 2017 7:12 am

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.
User avatar
Phil Last
 
Posts: 624
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex


Return to Source Code Management

Who is online

Users browsing this forum: No registered users and 1 guest