Table of Contents

Synopsis:

json_error()

Technical:

This function returns a descriptive error string if an error has occurred during the previous call to json_explode.

Returns:

An error string, or an empty string if the previous call to json_explode succeeded.

See Also:

json_explode, json_implode