jsonbyte
  • Get Started
  • Property
    • Get
    • Create
    • Change
    • Remove
    • Merge
    • Replace
    • Exists
    • Preview
  • Comments
    • Create
    • Remove
    • Get
    • All
  • Array
    • Create Element
    • Create Element In First
    • Remove Element
    • Get Element
  • Conditional
    • Key
    • Value
  • extras
    • Join
    • Leave
Powered by GitBook
On this page
  1. Comments

Remove

you can remove comment via file.comment.remove function

const json = require("jsonbyte");


const file = new json("./file.json")


file.comment.remove("commentKey").save();
PreviousCreateNextGet

Last updated 2 years ago