Default box.json includes comments and is not valid JSON

Description

The generated box.json files currently contains single line comments. The official JSON spec does not allow for comments of any kind. Having comments in this file breaks it out of the box. It seems like it would be better for those who are new to the tool to read the documentation rather than making those who are familiar with the tool remove comments every time they what to start a new project.

http://stackoverflow.com/questions/244777/can-i-comment-a-json-file
https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaGSr
https://groups.yahoo.com/neo/groups/json/conversations/topics/156
http://www.json.org/

Activity

Show:
AJ Michels
May 20, 2014, 8:06 PM

I also just noticed that the keys in the JSON file are not in quotes which is another issue that makes the file not valid JSON.

Luis Majano
May 20, 2014, 8:22 PM

yes, that was just a placeholder, will be replaced with the real one later on.

Brad Wood
June 4, 2014, 12:58 AM

The box.json template has been refactored and moved into /templates/box.json.txt

Fixed

Assignee

Brad Wood

Reporter

AJ Michels

Labels

Affects versions

Fix versions

Priority

Major

Components