Blockbench Reference Docs
    Preparing search index...

    Function autoParseJSON

    • Parameters

      • data: string
      • Optionalfeedback: boolean

      Returns any

    • Parse JSON file, while stripping away comments, and optionally showing potential syntax errors to the user in a popup

      Parameters

      • data: string

        Input string

      • Optionalfeedback: boolean | FeedbackOptions

        Whether to notify the user of syntax errors. Default is true

      Returns any

      Parsed data