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 14:53
Bago Zonde

Registered: Dec 2010
Posts: 23
6502 JSON Parser

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

http://www.commocore.com/repository/6502-json-parser

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.

Cheerz!
2017-09-03 18:26
oziphantom

Registered: Oct 2014
Posts: 153
Wouldn't BSON make more sense?
2017-09-03 18:27
Digger

Registered: Mar 2005
Posts: 243
What would that be useful for?
2017-09-03 20:50
Karmic

Registered: Apr 2015
Posts: 35
Quote:
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-04 00:40
Bago Zonde

Registered: Dec 2010
Posts: 23
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
Advanced
Users Online
bugjam
Acidchild/Padua
Joe/WD/HXS/EXON/Arts..
grass/LETHARGY
Steveboy
Grue
Toggle/Padua
Cruzer/CML^Oxy^Λrsenic
Guests online: 41
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 Quad Core 100%  (9.6)
5 The Shores of Reflec..  (9.6)
6 Lunatico  (9.6)
7 Comaland 100%  (9.5)
8 Incoherent Nightmare  (9.5)
9 Wonderland XII  (9.5)
10 Comaland  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 Field Sort  (9.6)
3 Dawnfall V1.1  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Treu Love [reu]  (9.4)
6 Dawnfall  (9.2)
7 Veterans of Style  (9.2)
8 KAOS 64  (9.2)
9 One-Der  (9.2)
10 Game of Thrones [2sid]  (9.2)
Top Groups
1 Blazon  (9.5)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Oxyron  (9.4)
5 Crest  (9.3)
Top Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Carrion  (9.7)
4 Veto  (9.7)
5 DocJM  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.279 sec.