JSON?

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Sun Aug 28, 2011 6:26 pm
alistair offline
Posts: 109
Joined: Jul 14, 2006

JSON?

I'm trying to create and parse JSON responses within a plugin.

It looks like Python 2.6 has native support for JSON, but 2.5 doesn't.
Is there a 3rd party library you're already using and, if not, any chance one could be included alongside the other 3rd party libraries? ;)

-Alistair

Posted on
Mon Aug 29, 2011 4:09 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: JSON?

alistair wrote:
I'm trying to create and parse JSON responses within a plugin.

It looks like Python 2.6 has native support for JSON, but 2.5 doesn't.
Is there a 3rd party library you're already using and, if not, any chance one could be included alongside the other 3rd party libraries? ;)

-Alistair


SimpleJSON, which is part of the standard library for Python, is able to work with python 2.5... It's just not included. Go over to the python web site, and just download it... Then place the folder in your plugin's folder...

That what I am doing for the weather-conditions plugin...

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests