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

As a framework user that defined JSON serialization model I should get a notification from serializer in case if some mapped properties were not found in a response, so It may help me to find model definition mistakes like naming mistypes etc. #41

Open
nikita-leonov opened this issue Aug 22, 2013 · 2 comments

Comments

@nikita-leonov
Copy link
Contributor

No description provided.

@ghost ghost assigned sunnycows Oct 11, 2013
@nikita-leonov
Copy link
Contributor Author

Is ti solvable by current approach for json serialization?

@yuriy-tolstoguzov
Copy link
Contributor

@nikita-leonov, I think - partially. I implemented logging of incorrect serialization root, but we don't check if every property is presented in json and I personally don't think it's correct formulation. Mb we want to log warning in case we did not find property in mapped object for json field?

RFLogWarning(@"Serialization failed because part ( %@ ) of serialization root ( %@ ) is not founded or equal nil", currentKeyPath, keyPath);

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

No branches or pull requests

3 participants