We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got a problem ordering serialized output order of my fields. This is my code ` /**
And the response is the same, like if AccessorOrder was ignored. { "id": "edf007d651855ab64f9c", "state": "Guanajuato", "created_at": "2015-09-17T12:42:21-0500", "company_name": "Foograde", "line1": "Gral. Ortega #223D", "first_name": "Federico", "city": "Celaya", "postal_code": "38010", "last_name": "Mata", "email": "[email protected]", "country_code": "MX", "line2": "Col. Alameda" } `
{ "id": "edf007d651855ab64f9c", "state": "Guanajuato", "created_at": "2015-09-17T12:42:21-0500", "company_name": "Foograde", "line1": "Gral. Ortega #223D", "first_name": "Federico", "city": "Celaya", "postal_code": "38010", "last_name": "Mata", "email": "[email protected]", "country_code": "MX", "line2": "Col. Alameda" }
Any idea?
The text was updated successfully, but these errors were encountered:
@fedebalderas just had the same issue..use your property names like customId, companyName etc. and it should work.
customId
companyName
Sorry, something went wrong.
it works as expected, proof: https://github.com/eugene-matvejev/battleship-game-api/blob/master/src/GameBundle/Entity/Battlefield.php
No branches or pull requests
I got a problem ordering serialized output order of my fields.
This is my code
`
/**
*/
class Customer
....
....
`
And the response is the same, like if AccessorOrder was ignored.
{ "id": "edf007d651855ab64f9c", "state": "Guanajuato", "created_at": "2015-09-17T12:42:21-0500", "company_name": "Foograde", "line1": "Gral. Ortega #223D", "first_name": "Federico", "city": "Celaya", "postal_code": "38010", "last_name": "Mata", "email": "[email protected]", "country_code": "MX", "line2": "Col. Alameda" }
`
Any idea?
The text was updated successfully, but these errors were encountered: