Not a bug json_encode XenForo_Phrase return object empty.

If you have arbitrary objects, you need to consider using a method that will convert them for JSON if needed. (We do not currently support JsonSerializable.) As an example, XenForo_ViewRenderer_Json::jsonEncodeForOutput.
 
If you have arbitrary objects, you need to consider using a method that will convert them for JSON if needed. (We do not currently support JsonSerializable.) As an example, XenForo_ViewRenderer_Json::jsonEncodeForOutput.
Ok thanks. I know that you will mark this thread as designed for some reasons. Any way. Thank for the information.
 
Top Bottom