Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deserialize with JMS Serializer #192

Open
sela opened this issue Jun 20, 2018 · 0 comments
Open

deserialize with JMS Serializer #192

sela opened this issue Jun 20, 2018 · 0 comments

Comments

@sela
Copy link

sela commented Jun 20, 2018

I'm using JMS Serializer and try to deserialize JSON Point coordinates.
I wasn't sure for the format so serialized an object and got the following format (coordinate is the column name):

{
    "coordinate": {
        "x": 12.0,
        "y": 12.0
    }
}

now I try the same from JSON and the deserialize fails with the message: You must define a type for App\Entity\Something::$coordinate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant