English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old 23 December 2023, 15:39   #1
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 385
Thumbs up Amiga release of json-c - A C library for processing JSON

Hi all

While developing AmigaGPT I needed to process JSON and decided it was far too painful to manually parse the strings. I ended up making changes to the json-c library to make it compile for Amiga. I have just created a pull request to the main repo to get Amiga compilation working.

You can view the main json-c repo here:
https://github.com/json-c/json-c

I have compiled OS3 and OS4 versions of the library and can be downloaded from GitHub here:
https://github.com/sacredbanana/json...-0.17-20230812

Or from Aminet here:
http://aminet.net/package/dev/lib/json-c

I have also added json-c to my Amiga dev environment (also Dockerised) if anyone is interested too. I plan to keep adding useful libraries to that as I require them https://github.com/sacredbanana/AmigaSDK-gcc

Last edited by Nightfox; 26 December 2023 at 14:20.
Nightfox is offline  
Old 23 December 2023, 16:57   #2
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Excellent!
Karlos is offline  
Old 23 December 2023, 18:06   #3
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,178
awesome!

It's great to see this being properly pushed upstream, too much Amiga porting efforts never do and just vanish.

Thanks, now i need to figure out some REST API client i want to build for Amiga :'D
Locutus is offline  
Old 23 December 2023, 18:16   #4
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 385
Here is the PR I've opened in case anyone wants to follow along: https://github.com/json-c/json-c/pull/847
Nightfox is offline  
Old 23 December 2023, 18:55   #5
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Quote:
Originally Posted by Nightfox View Post
Here is the PR I've opened in case anyone wants to follow along: https://github.com/json-c/json-c/pull/847
That's a much smaller changeset than I was expecting. I can't see why it wouldn't be accepted.
Karlos is offline  
Old 26 December 2023, 14:22   #6
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 385
They'd like a cleaner solution rather than specific Amiga checks in some places, so I'll do some investigation and clean it up if I can.
Nightfox is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsing JSON in ARexx _amiga_ Coders. Language 5 29 April 2023 02:49
How to Use Classic Amiga for Word Processing Today (2 of 2) intric8 Amiga scene 19 18 November 2016 03:32
bsdsocket.library support seems to be broken in latest dev release nexusle support.FS-UAE 5 03 January 2013 18:44
Amos PD Library Release 2 for sale forumbase MarketPlace 0 07 February 2006 18:32
rippermaster.library awaits release PseudoDOS Coders. General 12 23 January 2003 00:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:53.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06943 seconds with 13 queries