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

Class Concrete5_Helper_Json

Direct known subclasses


Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (
License: MIT License
Author: Andrew Embler
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