[web2py] Re: Interesting about JSON license...

2013-01-31 Thread Alan Etkin

>
> The best option would be to have this fixed by simplejson/json, ...

 
I opened a new thread for the spacing issue: 
https://groups.google.com/d/topic/web2py-developers/LyoEi-wJ_OQ/discussion

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Interesting about JSON license...

2013-01-31 Thread Alan Etkin

>
> I do not think any of the existing libraries handle it. One option is 
> fixed in simplejson and submit a patch to the authors. Another option is to 
> fix in gluon.serializers. A third option is to fix in the jsonp view (as 
> the article suggests).
>

The best option would be to have this fixed by simplejson/json, however, I 
don't think they will accept it, because this is not a specific json 
encode/decode issue, unless they want to add the feature to catch the bad 
javascript. I think web2py should handle this instead.

Wouldn't be better to prevent users from using those characters in json 
input? (not a rhetorical question)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Interesting about JSON license...

2013-01-30 Thread Massimo Di Pierro
I do not think any of the existing libraries handle it. One option is fixed 
in simplejson and submit a patch to the authors. Another option is to fix 
in gluon.serializers. A third option is to fix in the jsonp view (as the 
article suggests).

On Wednesday, 30 January 2013 15:05:15 UTC-6, Alan Etkin wrote:
>
> Oops. It's the first time I see this.
>
> So what to do about that? Is web2py going to do in-the-middle 
> replacement?. Doesn't simplejson handles this?
>
> Also, according to other articles, json should be always encloesed by 
> array or object literal. The python json libraries are not that restrictive.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Interesting about JSON license...

2013-01-30 Thread Alan Etkin
Oops. It's the first time I see this.

So what to do about that? Is web2py going to do in-the-middle replacement?. 
Doesn't simplejson handles this?

Also, according to other articles, json should be always encloesed by array 
or object literal. The python json libraries are not that restrictive.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Interesting about JSON license...

2013-01-30 Thread Massimo Di Pierro
I do not think this is a serious issue. 
This (http://timelessrepo.com/json-isnt-a-javascript-subset) is a more 
serious issue which we should fix.

On Wednesday, January 30, 2013 1:15:42 PM UTC-6, Alan Etkin wrote:
>
> What happens with the use of the JSON format by web2py?
> Are there any legal issues with implementing JSON (or third party tools?)
>
> (other that using it for evil, of course)
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Interesting about JSON license...

2013-01-30 Thread Alan Etkin
What happens with the use of the JSON format by web2py?
Are there any legal issues with implementing JSON (or third party tools?)

(other that using it for evil, of course)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.