NPM should understand package.jsonc files (JSON with // and /* */ comment syntax).
-
-
Tell me more about this! You store deserialized JSON objects in a map or something so you can retrieve trivia when they are re-serialized?
-
JSON parser tracks the current properties being parsed, when it encounters comments it assigns them to a map with the current key path. It's just a single map of object paths to comments. Then have a type-safe interface to consume the JSON, which has a `stringify` method.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 