You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2009/04/21 11:56:47 UTC
[jira] Resolved: (SHINDIG-1025) Fixes canonicaldb.json file. php
json_decode can't process the json filed that doesn't have quotes.
[ https://issues.apache.org/jira/browse/SHINDIG-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Chabot resolved SHINDIG-1025.
-----------------------------------
Resolution: Fixed
Assignee: Chris Chabot
I've committed the additional $jsonDecoded != null check.
However, I am curious where / what platform / php version your seeing this behavior? While the documentation states that json_decode will return false on a json structure that is deeper then 127 nestings, on plain failed decoding it always returns the original string to me, both on a mac and a linux host
> Fixes canonicaldb.json file. php json_decode can't process the json filed that doesn't have quotes.
> ---------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1025
> URL: https://issues.apache.org/jira/browse/SHINDIG-1025
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: trunk
> Reporter: Jinhui Du
> Assignee: Chris Chabot
> Priority: Minor
> Fix For: trunk
>
>
> It only affect php not java implementation.
> The url for code review:
> http://codereview.appspot.com/40123/show
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.