Jump to content

simplejson vs. json addon setting


LehighBri
Go to solution Solved by xnappo,

Recommended Posts

LehighBri

I started using this addon in XBMC a couple weeks ago on my RPi's and love it.  I noticed the recent .516 addon update changes the setting related to simplejson vs. json.  Question on the intent of this setting.  Is there a reason this setting is needed at all vs. simply just handling it as part of the addon itself?

 

The reason I ask is, in my development of the SageTV addon for XBMC, I came across the thread below which describes how to handle this programatically.

 

http://forum.xbmc.org/showthread.php?tid=173887

 

Using json on the rpi instead of simplejson is significantly faster, so would it be better to simply get rid of this setting and do something like below that is described in the thread?

if sys.version_info >=  (2, 7):
    import json as _json
else:
    import simplejson as _json 
Link to comment
Share on other sites

xnappo

We are probably going to remove it very soon and just use 'normal' JSON.  We have not seen a place where SimpleJSON helps lately.  The change was to start moving in that direction.

 

xnappo

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...