All

you can get all comment value via file.comment.all function

const json = require("jsonbyte");


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


const allComments = file.comment.all();
console.log(allComments) // output: Array[]

Last updated