Contact us on 0800 GO EDIY for your Business Web Design and Internet Marketing requirements.

30-Day Free Trial!

Download! Business Web Design NZ and Website Hosting NZ support. Call 0800 463 349 Now!

"When I was first thinking about getting a website for my new business I did not want to spend a fortune in set-up costs. For only a fraction of the cost of other website companies I now have a professional looking website which is how I gain over 50% of new clients.
 
I have complete control over the website look and content. I love how I can make changes to the website whenever I like and these are instantaneous. No waiting around for a web designer to make the changes for me. Fantastic!
 
The best part though is the excellent Google ranking, which helps potential customers find AHeadStart easily. When they view the website they are impressed with how easy it is to use and often comment that this is the reason they chose us over the competition. Thanks eDIY!"

Melanie Coker 
AHeadStart Tuition

See what our clients are saying!

VB-JSON: A Visual Basic 6 (VB6) JSON Parser Class Library 

Introduction
VB-JSON is a Visual Basic 6 class library for parsing and emitting JSON (Javascript Object Notation) and can handle nested arrays and objects in the data. It does not rely on the JScript engine for parsing.

JSON is a useful and compact format for data interchange between a browser based JavaScript client program and a VB6 based data server, and also for storing structured meta data in a text field. It can also be used as an efficient RPC transport protocol and compresses well using GZip.  The project also includes a fast string builder class for assembling the JSON data string at a high speed. 

This software is BSD licenced and is based on an Excel macro found here. Some parsing bugs in the original functions have been fixed and the string builder class improves performance. Also there are some handy utility functions that return a JSON data set from an ADO Recordset or a character delimited string.

VB6 JSON Parser BSD Licensed


Release History
18th April 2009: Initial Release
23rd April 2009: Added JSON file parser button to sample project and a simple error list to show parsing errors rather than using Err.Raise
26th April 2009: 
* Improved JSON parser error handling
* Added // and /* */ comment support
* Added an early
implementation of a simple scripting system called JSONscript

18th July 2009: 
* Changed VBJSON.cls to JSON.bas Module to make it a singleton
* Fixed a bug with data containing the / character
* Changed formatNumber function to use Long integers
* Added code for making JSON-RPC calls

1 August 2010
* Fixed a bug in the JSON parser that hangs on a colon character in a key.

 

A contact email address is given in the header of the class if you find any bugs or have suggestions on how to improve this project.

For more information about the uses of JSON and the data format, please refer to the JSON.ORG web site.

VBJSON Download
Download the VB-JSON JSON Parser class and a simple example project from here:

Download VBJSON.zip