Welcome Guest, Not a member yet? Register   Sign In
cant use json_encode to entity class
#1

i use json_encode an entity class but it's just return "{}".
Reply
#2

You got to turn your entity class object into an array to encode it.
Simpler is always better
Reply




Theme © iAndrew 2016 - Forum software by © MyBB