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 <yazz@nowhere.eu> 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 <yazz@nowhere.eu> 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 balglaas@dds.nl

    "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

    • Gretchiie
      Tue Sep 16 05:20:21 2025
      from Derry, Nh via Telnet
    • Ginger1
      Mon Sep 15 19:33:54 2025
      from London via SSH
    • Bob Worm
      Mon Sep 15 15:42:34 2025
      from Wales, Uk via Telnet
    • Gretchiie
      Mon Sep 15 05:16:29 2025
      from Derry, Nh via Telnet
    • Fred Blogs
      Mon Sep 15 00:03:12 2025
      from Uk via SSH
    • Plume
      Sun Sep 14 09:34:52 2025
      from Uk via Raw
    • Gretchiie
      Sun Sep 14 06:07:30 2025
      from Derry, Nh via Telnet
    • Thlc
      Sat Sep 13 17:11:34 2025
      from Rognac, France via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 546
    Nodes: 16 (2 / 14)
    Uptime: 21:38:39
    Calls: 10,390
    Calls today: 1
    Files: 14,061
    Messages: 6,416,984

© >>> Magnum BBS <<<, 2025