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: 490
Wouldn't BSON make more sense?
2017-09-03 16:27
Digger

Registered: Mar 2005
Posts: 437
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
wacek/arise
Airwolf/F4CG
wil
A3/AFL
Laurikka
Guests online: 101
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

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