Problem using JSON to serialize php structures

Problem using JSON to serialize php structures | jondavidjohn.com.

I’ve hit this snag a number of times in the past couple years but it never occurred to me to write about it. Thank goodness there are so many smarter people than I. If you write PHP, this is a good tip to keep in mind.