Documentation
¶
Overview ¶
Package jsonutil contains the coding-agent JSON-with-comments compatibility boundary. It intentionally supports only Pi's line comments and trailing commas rather than accepting a broader JSON5 grammar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StripCommentsAndTrailingCommas ¶
StripCommentsAndTrailingCommas removes // line comments and commas directly before an object or array close. JSON string contents are copied byte for byte, including comment markers and comma-close sequences.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.