Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user ATOO ! (Registered 2017-11-21) 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: 161
Wouldn't BSON make more sense?
2017-09-03 18:27
Digger

Registered: Mar 2005
Posts: 247
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
r242
Ziili/Extend
Dymo
fieserWolF/Abyss-Con..
EnzoOttoBit
Jazzcat/Onslaught
zscs
Guests online: 57
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 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Pandemoniac Part 2 o..  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Synthesis  (9.5)
6 Dawnfall  (9.4)
7 Treu Love [reu]  (9.4)
8 Field Sort  (9.4)
9 Pro Memoria 4  (9.3)
10 KAOS 64  (9.3)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 The Judges  (9.3)
Top Swappers
1 Jerry  (10)
2 Zyron  (10)
3 Derbyshire Ram  (10)
4 Splatterhead  (9.8)
5 Walker  (9.7)

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