@pumpkin-plugins/bedrock-addon-manager API / packs/manifest / stripJsonComments
Function: stripJsonComments() ​
stripJsonComments(
text):string
Defined in: packages/bedrock-addon-manager/src/packs/manifest.ts:99
Bedrock accepts // and /* */ comments and a byte order mark in manifests.
Parameters ​
text ​
string
Returns ​
string