Class MOXMAN_Util_JsonEncoder
| Inheritance | MOXMAN_Util_JsonEncoder |
|---|
JSON encoder written in native PHP. This can be used as a fallback for earlier PHP versions that didn't have native JSON support.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| encode() | Encodes the specified PHP type into a JSON string. | MOXMAN_Util_JsonEncoder |
Method Details
Encodes the specified PHP type into a JSON string.
| public static \A encode ( $input ) | ||
| $input | Object | PHP object to encode as JSON. |
| return | \A | JSON string out of the specified object. |
|---|---|---|