為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I can't open a bookmark backup file with json extension

  • 9 回覆
  • 66 有這個問題
  • 1 次檢視
  • 最近回覆由 Mister Click

more options

I opened LIBRARY folder in the TOOLS and clicked BACKUP so that I can have a copy of my bookmarks to transfer to another laptop.

I saved the file on the DESKTOP. It has a json extension. Can't open it. How can I open it. Is my registry corrupt? Thanks, cp

I opened LIBRARY folder in the TOOLS and clicked BACKUP so that I can have a copy of my bookmarks to transfer to another laptop. I saved the file on the DESKTOP. It has a json extension. Can't open it. How can I open it. Is my registry corrupt? Thanks, cp

被選擇的解決方法

The only use of a JSON backup is to restore the file via the Bookmarks Manager in a Firefox profile, that will replace all current bookmarks with the ones in that JSON backup.
A JSON backup is a text file in object format and is not very readable.
If you want a readable backup then export the bookmarks to an HTML file.

Why do you want to open that file?

從原來的回覆中察看解決方案 👍 4

所有回覆 (9)

more options

Do you want to restore it to Firefox, or just look at the contents of that file?

more options

選擇的解決方法

The only use of a JSON backup is to restore the file via the Bookmarks Manager in a Firefox profile, that will replace all current bookmarks with the ones in that JSON backup.
A JSON backup is a text file in object format and is not very readable.
If you want a readable backup then export the bookmarks to an HTML file.

Why do you want to open that file?

more options

Just wanted to look at the contents to make sure that the file is complete before I copy it to another place. Thanks, cp

more options

Thanks, html solved my problem. cp

more options

I want to extract the tag information along with the bookmarks. I can't do that from the HTML version. Can I do it with json? Is there any documentation of the bookmark file json format?

more options

HTML bookmarks files don't contain the Tag data. The Tag data is in the JSON bookmarks backup file.


See this Google search of the Mozilla Developer Center for JSON documentation.

more options

I can parse JSON files in general, but the one with my bookmarks is 745K. I could poke around in it for a week before finding what I want. Is there some place where the structure of this particular file is documented? How do I associate URLs with tags, given my JSON file?

more options

Never mind, I figured it out.

more options

@anewc2 Could you please give me a hint on how you figured it out. I have the same problem and I can't make heads or tails of my JSON file without several days of cutting and pasting... Thank you.