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

    • Rixter
      Wed Jul 29 02:00:40 2026
      from Madison, Nc via Telnet
    • Centurion
      Tue Jul 28 22:54:59 2026
      from Berea, Ohio via Telnet
    • Bob Worm
      Tue Jul 28 16:01:18 2026
      from Wales, Uk via Telnet
    • Rixter
      Tue Jul 28 13:42:46 2026
      from Madison, Nc via Telnet
    • Krenn
      Tue Jul 28 11:59:57 2026
      from Sydney, Nsw via Telnet
    • Rixter
      Tue Jul 28 01:23:48 2026
      from Madison, Nc via Telnet
    • Centurion
      Mon Jul 27 22:50:42 2026
      from Berea, Ohio via Telnet
    • Ataricrypt
      Mon Jul 27 19:19:17 2026
      from England via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 741
    Nodes: 16 (2 / 14)
    Uptime: 54:48:43
    Calls: 12,446
    Calls today: 1
    Files: 15,192
    Messages: 6,537,337

© >>> Magnum BBS <<<, 2026