wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
JSONUtil Class Reference

Static Public Member Functions

static decode ($value, $assoc=false)
 
static encode ($value)
 

Detailed Description

JSONUtil provides helper functions for JSON.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.JSONUtil.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 28 of file class.JSONUtil.php.

Member Function Documentation

static JSONUtil::decode (   $value,
  $assoc = false 
)
static

Decode a value

Parameters
valueThe value to decode
assocTrue/False, wether to convert objects into associative arrays or not [default: false]
Returns
The decoded value

Definition at line 36 of file class.JSONUtil.php.

Referenced by Application\Application(), JSONFormat\beforeDeserialize(), HTTPClient\doRemoteCall(), and RPCClient\doRemoteCall().

static JSONUtil::encode (   $value)
static

Encode a value

Parameters
valueThe value to encode
Returns
The encoded value

Definition at line 46 of file class.JSONUtil.php.

Referenced by gPrintJSONResult().


The documentation for this class was generated from the following file: