Login +

Documentation

SLS_Services_JSON::decode

Since SillySmart 1.0

Description

Decodes a JSON string into appropriate variable
public mixed decode ( string $str);

Parameters

  • string $str
    JSON-formatted string

Return

mixed
number, boolean, string, array, or object corresponding to given JSON input string.
See argument 1 to Services_JSON() above for object-output behavior.
Note that decode() always returns strings in ASCII or UTF-8 format!
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.