This repository was archived by the owner on Aug 20, 2018. It is now read-only.

Description
When I run this json through the json-loader:
https://github.com/fb55/htmlparser2/blob/master/lib/entities/entities.json
I get:
63: function(module) {
module.exports = {
quot: 34,
amp: 38,
apos: 39,
lpar: 40,
rpar: 41,
lt: 60,
gt: 62,
nbsp: 160,
iexcl: 161
...
}
}
It looks like the escaped unicode code points are being lost. I'm not exactly sure what the resulting values are, but it is neither the unescaped unicode characters nor the escaped code point sequences.
It's interesting that quot became "34" instead of just """, which is technically the correct ASCII value, but the json-loader should not be doing such conversions.