Open skyblockz opened 4 years ago
As title, how do i convert the NBTFile object into a json formatted text?
Walk the NBT tree, and create a tree of dicts in the format you desire, then pass that dict tree to a json encoder.
As title, how do i convert the NBTFile object into a json formatted text?