Allow for array modifications, add inPlace formatting option.#35
Allow for array modifications, add inPlace formatting option.#35aeschli merged 2 commits intomicrosoft:masterfrom
Conversation
|
Thanks. I want to bring the two together. If you are interested doing so that would be great. |
|
Sure, I'm happy to help unify the two but would like some feedback on how to proceed. In VSCode, the commit you mentioned supports adding an element to the array at a specific index. This PR, when given an already existing index, will replace that index's content. Perhaps a replacement policy option to support both use cases? |
|
Agree, we need something to distinguish the cases. Replace should be the default.
|
|
Just updated to include a |
|
Thank you guys. I happen to need this feature. I am wondering is there any update on this? |
|
Thanks @mbullington ! |
|
@aeschli I don't mean to be pushy, but I am wondering is there a timeline for a new release that has this change? Thank you |
|
Published jsonc-parser@2.3.0 Note: I removed |
Hello!
inPlaceoption for formatting options (disabled by default), which essentially is a shortcut pastwithFormatting. This can be helpful for very large data files where performance is more important than file formatting.Thanks again for this great library!