473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

JSON From Excel/Word/Access

Oralloy
988 Expert 512MB
Folks,

I have a need to access JIRA REST services from VBA under Excel, Word, and possibly Access. Unfortunately I'm stuck with JSON. I've got XML figured out; but I can't find any good packages for JSON.

Is there a convienent "Reference" that I can add, which gives me clean handling of JSON?

I found VB-JSON (See: this site); but it doesn't want to play easily. I'm stalled on the "Dictonary" object reference in the source.

Any help or guidance you guys can give me is appreciated.

Oralloy
Apr 14 '11 #1
5 11535
Mariostg
332 100+
Did you look at the json package of python. python JSON encoder and decoder
Apr 14 '11 #2
NeoPa
32,556 Expert Mod 16PB
I wish I could Oralloy, but I have no such experience unfortunately :-(

What I will do though, is send out a general call to all the experts to draw attention to the question.
Apr 14 '11 #3
Oralloy
988 Expert 512MB
Mariostg, I'm being a little dense, in that I don't see the point of Python, unless I'm supposed to take the "json" module and rework it to run under VBA. Not sarcasm at all, I do know your offering is well meant - I just don't know what to do with it.

NeoPa, thanks. I did manage to get VB-JSON to work, but it's pretty obvious that it is missing some functionality relative to (what I consider as) Crockford's normative javascript implementation, json2. Still, this is the path I'm pursuing at this point.
Apr 14 '11 #4
Mariostg
332 100+
Sorry Oralloy, I mis-interpreted your initial posting. I got carried away, because to me package+json ~= python :).

But would be interesting to engineer that json-python package into vba though.
Apr 14 '11 #5
Oralloy
988 Expert 512MB
Gotta love the RFCs.

Apparently the RFC for JSON (see RFC4627) only allows JSON encoding of objects or arrays. Which the VB-JSON library is in strict compliance with.

When I test on I.E. 8, I can certainly encode atomic values, like 3 and "my string", using the built-in JSON.stringify() method. The json2 implementation seems to behave similarly.

Of course, all of this is put together by Crocker, the RFC in 2006, and the latest json implementations in 2010 and 2011.

Considering that the (IMHO) proper implementation of a serializer should be capable of passing atomic values, I would say that the JavaScript implementations are the correct, and the RFC is fallacious.

Ok, enough of that research. I don't see that RFC4627 is obsoleted, so I have to laugh and cry. I really don't feel like spending a week writing and delousing a "correct" JSON parser in VBA.
Apr 14 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: rosemm | last post by:
I am working on a project where I need to take an XML document, search through it and produce an Excel or Access file with the search results. Any suggestions for how this can be done?? I am new to...
0
by: Pranav | last post by:
I've a web page that displays report data in a data grid an a chart ( I'm using Chart Fx for .Net which creates .PNG files on Server) I've a requirement to export the datagrid and chart both to...
3
by: Jim Wyse | last post by:
I'm trying to use VB.NET to control Excel and Access, but finding it very slow going. I've just downloaded an Excel sample project from...
2
by: Danielle | last post by:
I have a database of address that are downloaded from the internet to excel. I have imported the data to access to create mail-outs easily, however, it is necessary for me to keep the excel...
2
by: ontherun | last post by:
Hi, Could anyone please assist me on how to import Excel records to Access. the records in excel are not in the same order as that of the one in Access. there are about 1000 records needs to be...
4
by: pixie | last post by:
Hi. We just went with Citrix and are having major issues. Our Office Apps (2003) freeze, hang, and just act funny. Its not consistent. Some times everything works fine. But the last two days...
0
by: prakashsakthivel | last post by:
Dear Members, I want to write Microsoft Exam for VBA ( Excel,Access, Word). Could you please any member guide me that where i can get details about that. Thanks musai.
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
2
overcomer
by: overcomer | last post by:
Hi, My problem is i dont know the syntax for opening/writing data/closing excel/word file via vba ms access.. If you know links or sites that could be helpful... thanks so much...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.