you can get all comment value via file.comment.all function
file.comment.all
const json = require("jsonbyte"); const file = new json("./file.json") const allComments = file.comment.all(); console.log(allComments) // output: Array[]
Last updated 2 years ago