Re: Notice: if u use php and get json style result from solr

2007-05-20 Thread James liu
the attach is json_encode string which have "@" now i find it is PHP JSON function bug because it happen not only when i use the encode string have "@". now i use JSON_PHP class.(http://mike.teczno.com/json.html) test code (PHP CODE): http://bbs.qq.com/cgi-bin/bbs/show/content?club=0&groupid=1

Re: Notice: if u use php and get json style result from solr

2007-05-18 Thread Chris Hostetter
: > I don't see anything about it in RFC 4627 (which seems to be the most : > current JSON spec) so perhaps this is just a bug in the PHP json parser? : : : i try php with encode and decode. It works well although it has "@" : : so i don't think it is php's bug I odn't know jack about PHP, when y

Re: Notice: if u use php and get json style result from solr

2007-05-17 Thread James liu
2007/5/18, Chris Hostetter <[EMAIL PROTECTED]>: : : if u get null from json_decode($data),,,maybe ur $data have '@'fix way : is replace it before u do json_decode : : i try json_encode with php and json_decode with phpit is no problem when : i use '@' : : maybe it only happen encode(by j

Re: Notice: if u use php and get json style result from solr

2007-05-17 Thread Chris Hostetter
: : if u get null from json_decode($data),,,maybe ur $data have '@'fix way : is replace it before u do json_decode : : i try json_encode with php and json_decode with phpit is no problem when : i use '@' : : maybe it only happen encode(by java) and decode(by php) this may be a bug in our J