Open p0nce opened 1 year ago
Is a (bad) solution for #2567
✅ PR OK, no changes in deprecations or warnings
Total deprecations: 15
Total warnings: 0
Build statistics:
statistics (-before, +after)
executable size=5276640 bin/dub
rough build time=75s
Note that all comments still need a different _key
Note that my PR seems incomplete, if multiple "_comment" are found the parser still complains:
Warning Error was: dub.internal.dyaml.composer.ComposerException@source\dub\internal\dyaml\composer.d(370): Key '_comment' appears multiple times in mapping (first: file C:\Users\guill\Desktop\Dplug\examples\distort\dub.json,line 17,column 5)
Why is JSON parsed with a YAML parser? YAML doesn't allow duplicated keys, but JSON does.
Oh I see, the right fix is perhaps a parsing option in upstream "configy"
This allow to use:
in JSON.