On 01/01/2018 08:37 PM, NoOp wrote:
On 01/01/2018 05:56 PM, NoOp wrote:
<...>


Or python: https://docs.python.org/3/library/json.html#module-json.tool

$ cat bookmarks-2017-12-31.json | python -m json.tool > pretty.json
$ gedit pretty.json

{
                    "charset": "UTF-8",
                    "dateAdded": 1291676484000000,
                    "guid": "E2VyXb4tHph4",
                    "iconuri":
"https://www.seamonkey-project.org/images/seamonkey16.png";,
                    "id": 26,
                    "index": 3,
                    "lastModified": 1251830510000000,
                    "title": "The SeaMonkey\u00ae Project",
                    "type": "text/x-moz-place",
                    "typeCode": 1,
                    "uri": "http://www.seamonkey-project.org/";
                },


Sorry, forgot to mention - you can use kate instead of gedit export
to html:


No need for the html.
The combination of
  $ jq . bookmarks-2017-12-31.json > tmppretty.json
  $ kate tmppretty.json
Then deleting excess spaces/tabs and newlines followed by saving to bookmarks-2017-12-31.json solves all my problems. Or if tmppretty.json is acceptable to SeaMonkey it will be simpler.

I'm using Debian Stretch results in some minor problems with kate:
 1. F1(help) launches SeaMonkey but displays nothing.
    I did a full KDE install on a test machine and it works there.
    Where is the help file located.
 2. Is there a traditional mailing list or USENET group for asking
    questions? I find web based fora almost impossible.

Thank you.
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to