So what the h*#l is comment filtered json? After must searching around and a little testing I finally figured it out. To prevent some other poor bastard from doing the same search, here is an example.
1:{
2: "name":"South",
3: "type":"COED",
4: "size":200,
5: "students":["John Smith", "George Washington"]
6:}
7:
8:/*
9:{
10: "name":"South",
11: "type":"COED",
12: "size":200,
13: "students":["John Smith", "George Washington"]
14:}
15:*/
Lines 1 to 6 are regular JSON text. Lines 8 to 15 are comment filtered. To make JSON text comment filtered, simply put the text in a comment. That's it.
No comments:
Post a Comment