RC-Paves3-build / plovr

Automatically exported from code.google.com/p/plovr
0 stars 0 forks source link

Allow plovr configs to be specified in YAML #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Its difficult keeping a valid json file during development. Sensitive to 
errors. yaml would be really nice.

Original issue reported on code.google.com by nate.sku...@gmail.com on 29 Nov 2012 at 5:20

GoogleCodeExporter commented 8 years ago
Believe me, I have my share of issues with JSON:

http://bolinfest.com/essays/json.html

However, all JavaScript developers know it, and the JSON parser I use for plovr 
(https://code.google.com/p/google-gson/) allows JavaScript comments, so that 
helps considerably.

It also appears to have a 
http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/s
tream/JsonReader.html#setLenient(boolean) mode that does the worst possible 
thing imaginable when it comes to handling trailing commas.

I'll file a bug against the Gson folks and then plan on enabling setLenient().

Original comment by bolinf...@gmail.com on 6 Jan 2013 at 10:52

GoogleCodeExporter commented 8 years ago
Bug filed against GSON: 
http://code.google.com/p/google-gson/issues/detail?id=494

Original comment by bolinf...@gmail.com on 7 Jan 2013 at 12:00

GoogleCodeExporter commented 8 years ago
Reworded summary, as I did not find it very helpful.

Original comment by bolinf...@gmail.com on 7 Jan 2013 at 12:01

GoogleCodeExporter commented 8 years ago
Up for review: http://codereview.appspot.com/7594047

Original comment by nate.sku...@gmail.com on 10 Mar 2013 at 11:22