json_last_error_msg()

Retrieves the error string of the last json_encode() or json_decode() call.


Return Return

(bool|string) Returns the error message on success, "No Error" if no error has occurred, or false on failure.


Top ↑

Source Source

File: wp-includes/compat.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.