Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.LANG.C
  • Re: parsing JSON

    From Lawrence D'Oliveiro@21:1/5 to Yazz on Sat Sep 7 00:03:19 2024
    On Fri, 6 Sep 2024 18:53:40 -0000 (UTC), Yazz wrote:

    Hello, I want to read json file and process it's data in comfortable
    way.

    I see there are standard Debian packages for these: <https://github.com/DaveGamble/cJSON>, <https://jqlang.github.io/jq>, <https://github.com/zserge/jsmn>, <https://github.com/json-c/json-c/wiki>, <https://wiki.gnome.org/Projects/JsonGlib>,
    <https://lloyd.github.io/yajl/>, <https://github.com/ibireme/yyjson>.

    This one is more general than just JSON: <https://github.com/farsightsec/fstrm>.

    Disclaimer: I haven’t used any of these--not in my own code, anyway.

    Quite an embarrassment of riches, anyway ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Kita@21:1/5 to Yazz on Sat Sep 7 06:59:25 2024
    Yazz <[email protected]> wrote:
    Hello, I want to read json file and process it's data in comfortable way. Could you recommend a library that is fast and nice to use?
    Thank you in advance!

    I used microjson on multiple embedded projects, it's fast and I found
    it easy to use. The actual homepage[0] gives currently an SSL error, but
    there is also a mirror on GitLab[1].

    [0]: https://www.catb.org/~esr/microjson/microjson.html
    [1]: https://gitlab.com/esr/microjson

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jan van den Broek@21:1/5 to Yazz on Sat Sep 7 12:55:41 2024
    2024-09-06, Yazz <[email protected]> schrieb:
    Hello, I want to read json file and process it's data in comfortable way. Could you recommend a library that is fast and nice to use?
    Thank you in advance!

    I use cJSON: https://github.com/DaveGamble/cJSON?tab=readme-ov-file#parsing-json
    --
    Jan v/d Broek [email protected]

    "Ich kenne das Leben, ich bin im Kino gewesen."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Amstrad Ppc
      Sat Oct 31 15:21:38 2026
      from Wiltshire via Telnet
    • Amstrad Ppc
      Sat Oct 31 15:13:22 2026
      from Wiltshire via SSH
    • Amstrad Ppc
      Sat Oct 31 13:42:25 2026
      from Wiltshire via SSH
    • Root Cellar
      Sat Oct 31 12:26:17 2026
      from 505 via Telnet
    • Rixter
      Sat Oct 31 11:01:35 2026
      from Madison, Nc via Telnet
    • Jc1571
      Sat Oct 31 09:23:43 2026
      from Vancouver, Bc via Telnet
    • Beg5210
      Sat Oct 31 07:44:00 2026
      from Melbourne, Aus via Telnet
    • Beg5210
      Sat Oct 31 07:42:02 2026
      from Melbourne, Aus via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 796
    Nodes: 16 (3 / 13)
    Uptime: 146:29:17
    Calls: 13,187
    Calls today: 10
    Files: 15,483
    Messages: 6,579,200
    Posted today: 2

© >>> Magnum BBS <<<, 2026