Documentation ¶
Overview ¶
Package jsoncommentstrip contains functions which strips comments from JSON input.
Supported comment types:
- Single line:
{ // this is a single line comment }
- Multiple lines:
{ /* multiple * lines comments * works */ }
Supported line breaks:
\n - unix style \r\n - windows style
Supported escaping in JSON:
{ "test": "\"valid string // /*" }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.