apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Support comments in JSON request body

Open ashitaprasad opened this issue 10 months ago • 2 comments

Tell us about the task you want to perform and are unable to do so because the feature is not available

Support comments in JSON request body

{
  // one-line comment
  "foo": "bar",
  /*
   * multi-line block comment
   */
  "baz": "qux",
}

Potential solution can be searched here - https://fluttergems.dev/json/

ashitaprasad avatar Feb 22 '25 16:02 ashitaprasad

Hello, @ashitaprasad. Can I take up this issue? I think Using regular expressions to solve this would be a good approach

FreeBono avatar Feb 23 '25 05:02 FreeBono

@FreeBono You can look into the link shared and check out some package first which has this feature. Then you can use it directly or go through its code base to understand a good approach to do it.

ashitaprasad avatar Feb 23 '25 05:02 ashitaprasad