Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums

Forums > C64 Coding > 6502 JSON Parser
2017-09-03 12:53
Bago Zonde

Registered: Dec 2010
Posts: 28
6502 JSON Parser

Hi guys! I would like to share another open source project, JSON parser library for your beloved Commodore 64!


It's in alpha version, and I'm opened to any suggestions!

In following weeks / months I'm going to release one project which uses this library.

2017-09-03 16:26

Registered: Oct 2014
Posts: 173
Wouldn't BSON make more sense?
2017-09-03 16:27

Registered: Mar 2005
Posts: 274
What would that be useful for?
2017-09-03 18:50

Registered: Apr 2015
Posts: 40
One of its use cases, and the reason why this library has been created, is that it provides an elegant solution to request data from APIs. In API world, especially REST API world, JSON format is one of the most common, lightweight and human friendly format available, and it will probably stay around for another decade. Because of that, I believe that supporting Commodore 64 and other 8-bit machines with the versatile 6502 JSON Parser will bring new ideas, and actively help to develop modern software for our beloved, small, but still in some way powerful machines.

You could easily use this JSON parser with http64 library written by Doc Bacardi which allows to make requests over HTTP. You can find source code here: http://csdb.dk/release/?id=14611. http64 library is used in HTTP-Load, and Singular Browser, and works perfectly with RR-Net ethernet cartridge, or other devices.

HTTP apparently. I never found the use for HTTP on C64 anyway, so eh.
2017-09-03 22:40
Bago Zonde

Registered: Dec 2010
Posts: 28
You can use it to parse data from existing public APIs for example, which returns JSON response. Or just create your own REST API, and serve it for different clients including C64. I'm working on some API endpoints recently just to see it in action with http64 library, more details "soonish". I have a good fun so far :).
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Users Online
HCL/Booze Design
Guests online: 33
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Comaland 100%  (9.6)
6 We Come in Peace  (9.6)
7 Lunatico  (9.6)
8 Incoherent Nightmare  (9.5)
9 Wonderland XII  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.5)
2 Pandemoniac Part 2 o..  (9.5)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Treu Love [reu]  (9.5)
6 In Memoriam BHF  (9.5)
7 Merry Xmas 2017  (9.4)
8 Dawnfall  (9.4)
9 SWiRL  (9.4)
10 Synthesis  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.4)
5 Crest  (9.3)
Top Logo Graphicians
1 Pal  (9.5)
2 Jailbird  (9.3)
3 Yazoo  (9.3)
4 Elko  (9.2)
5 Mermaid  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.053 sec.