← All tasks
What you'll do
Pick the correct way to make a JSON database column automatically decode to a PHP array.
Scenario
A 'settings' column stores JSON, and you want $user->settings to return a PHP array without manual json_decode calls.
Ready to try it?
Create a free account and subscribe to take "Casting a JSON Column to an Array". Earn 70 XP and track your internship progress.
Already have an account? Sign in