Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mvorisek
Copy link
Member

@mvorisek mvorisek commented Feb 7, 2023

json_encode encodes public properties of an object only, encoding an object is often a mistake so better to catch it

in the future, if needed, we can support encode of objects implementing JsonSerializable interface, but as JsExpression does not implement such interface, it was never supported by atk4/ui, thus also I do not expect any BC break from this PR

@mvorisek mvorisek marked this pull request as ready for review February 7, 2023 10:03
@mvorisek mvorisek merged commit ff872df into develop Feb 7, 2023
@mvorisek mvorisek deleted the no_object_to_json branch February 7, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants