19 require_once(BASE.
"wcmf/lib/util/class.JSONUtil.php");
20 require_once(BASE.
"wcmf/lib/model/class.NodeSerializer.php");
21 require_once(BASE.
"wcmf/lib/presentation/format/class.HierarchicalFormat.php");
44 register_shutdown_function(
'gPrintJSONResult');
65 foreach(array_keys($data) as $key)
85 return ((is_object($value) || is_array($value)) && isset($value[
'oid']) && isset($value[
'type']));
102 if (is_array($value))
103 $type = $value[
'type'];
104 if (is_object($value))
105 $type = $value->type;
& deserializeNode($type, $data, $hasFlattendedValues, $parent=null)
static utf8EncodeMix($input, $encodeKeys=false)
static decode($value, $assoc=false)
serializeNode(&$obj, $flattenValues)