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


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

Registered: Dec 2010
Posts: 29
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 16:26
oziphantom

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

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

Registered: Apr 2015
Posts: 66
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-03 22:40
Bago Zonde

Registered: Dec 2010
Posts: 29
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
Alakran_64
Guests online: 310
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Mr Zero Page  (9.8)
4 Antitrack  (9.8)
5 OTD  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.037 sec.