taskGNU Astronomy Utilities - Tasks: task #15895, JSON support


You are not allowed to post comments on this tracker with your current authentication level.

task #15895: JSON support

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Sat 30 Jan 2021 03:27:08 PM UTC  
Should Start On:  Sat 30 Jan 2021 12:00:00 AM UTC Should be Finished on:  Sat 30 Jan 2021 12:00:00 AM UTC
Category:  Libraries Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Sat 30 Jan 2021 03:27:08 PM UTC, original submission:  

JSON is a commonly used format to store metadata or configuration files. For example some servers (that the Query program is planned to contact) provide outputs in this format.

One way is to write our own internal parser, but its better to use a good library. On the main JSON webpage there are a list of libraries for various languages, including C: https://www.json.org

Unfortunately some (like GNOME's json-glib) depend on Python!!! So we need to find one that doesn't depend on anything beyond ISO C.

I had a fast look at some of them and these seems possible potentials (although I just looked at their README, and haven't actually looked into the code at this stage to confirm):

  • http://lloyd.github.io/yajl (officially claims to only need ANSI C, permissive license, almost 300 commits, seems like a good choice)
Mohammad Akhlaghi <makhlaghi>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.7