CodeIgniter Forums

Full Version: cant use json_encode to entity class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i use json_encode an entity class but it's just return "{}".
You got to turn your entity class object into an array to encode it.