summaryrefslogtreecommitdiff
path: root/lib/JSON/inc_json.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/JSON/inc_json.php')
-rw-r--r--lib/JSON/inc_json.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/JSON/inc_json.php b/lib/JSON/inc_json.php
deleted file mode 100644
index b36c2a4..0000000
--- a/lib/JSON/inc_json.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-if (!function_exists('json_decode')) {
- function json_decode($content, $assoc=false) {
- require_once 'lib/JSON/JSON.php';
- if ($assoc) {
- $json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE);
- }
- else {
- $json = new Services_JSON;
- }
- return $json->decode($content);
- }
-}
-
-if (!function_exists('json_encode')) {
- function json_encode($content) {
- require_once 'lib/JSON/JSON.php';
- $json = new Services_JSON;
- return $json->encode($content);
- }
-}