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

  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 715
    Nodes: 16 (2 / 14)
    Uptime: 155:20:23
    Calls: 12,092
    Files: 15,000
    Messages: 6,517,703

© >>> Magnum BBS <<<, 2026