Agree that it would be a very nice feature to have.

HOWEVER, this is how the scope creep starts. The original thought was to have a 
very simple parser.


What about a separate (possibly even configurable) pre-parser instead?


Cheers,
=David


> On Feb 21, 2017, at 7:17 AM, Stefan Seifert <[email protected]> wrote:
> 
> the new json parser added to Felix Utils fails when the JSON files contain 
> comments like /* comment */.
> 
> i known that the JSON format [1] officially does not support comments at all, 
> but most JSON parsers nowadays seem to support them by just skipping comments 
> when parsing a JSON file. should the felix parser support this as well? 
> perhaps configurable via a strict and non-strict mode?
> 
> stefan
> 
> [1] https://tools.ietf.org/html/rfc7159
> 
> 

Reply via email to