This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Helper_Json

Direct known subclasses

JsonHelper

Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/helpers/json.php

Methods summary

public mixed
# decode( string $string, boolean $assoc = false )

Decodes a JSON string into a php variable

public string
# encode( mixed $mixed )

Encodes a data structure into a JSON string