Github messages for voidlinux
 help / color / mirror / Atom feed
From: paoloschi <paoloschi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [Package request] jc
Date: Wed, 30 Mar 2022 11:43:17 +0200	[thread overview]
Message-ID: <20220330094317.iNJsQFXEA1_jp_xVO0sMWmRFb3JtYsoork3ncxbEw8k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35804@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

New comment by paoloschi on void-packages repository

https://github.com/void-linux/void-packages/issues/35804#issuecomment-1082858048

Comment:
note that for parsing XML files, `jc` also depends on the `python3-xmltodict` package:

```
$ curl -s 'https://www.w3schools.com/xml/note.xml' | jc --xml
jc:  Error - Parser issue with xml:
             LibraryNotInstalled: The xmltodict library is not installed.
             If this is the correct parser, try setting the locale to C (LANG=C).
             For details use the -d or -dd option. Use "jc -h --xml" for help.
```

after installed `python3-xmltodict`:

```
$ curl -s 'https://www.w3schools.com/xml/note.xml' | jc --xml
{"note":{"to":"Tove","from":"Jani","heading":"Reminder","body":"Don't forget me this weekend!"}}
```


  parent reply	other threads:[~2022-03-30  9:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23 12:54 [ISSUE] " paoloschi
2022-03-28 20:53 ` [ISSUE] [CLOSED] " abenson
2022-03-28 20:54 ` abenson
2022-03-30  9:43 ` paoloschi [this message]
2022-03-31 22:20 ` abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220330094317.iNJsQFXEA1_jp_xVO0sMWmRFb3JtYsoork3ncxbEw8k@z \
    --to=paoloschi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).