Lines Matching +full:v +full:- +full:hope
12 * This library is distributed in the hope that it will be useful,
20 * Boston, MA 02110-1301 USA
29 // if the php5-json module is not available, use a software json implementation
33 $this->json = new Services_JSON();
37 function encode($v) argument
39 if ($this->json)
40 return $this->json->encode($v);
42 return json_encode($v);
45 function decode($v) argument
47 if ($this->json)
48 return $this->json->decode($v);
50 return json_decode($v);