Skip to content

Can we use comments in Dev Proxy .json files #600

@waldekmastykarz

Description

@waldekmastykarz

Would it be possible, and if so, what changes would we need to apply, to let folks add comments to Dev Proxy .json files? Being able to include comments would be invaluable to document the different pieces of configuration right along with it, without having to have separate docs which could easily get out of sync.

Build:

  • In abstractions, provide a centralized configuration for deserialization that can be reused in all places where we handle JSON
  • update all deserializations to use this config

Things to research:

  • can we handle (basically ignore) comments in JSON files during deserialization?
  • is there a difference between deserializing devproxyrc.json and a plugin config file?
  • do we need to use a specific extension to make VSCode automatically allow comments in JSON files

Any other considerations?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions