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

inconsistent json name #238

Open
s3341458 opened this issue Oct 1, 2019 · 1 comment
Open

inconsistent json name #238

s3341458 opened this issue Oct 1, 2019 · 1 comment

Comments

@s3341458
Copy link
Collaborator

s3341458 commented Oct 1, 2019

ProductComment.json_name = "production_comment"
ComponentTag.json_name = "ComponentTag"

ProductComments.json_name = "productionComments"
PhoneNumbers.json_name = "phone_numbers"

I start to suspect if python sdk is working at all.

@DanielCollins
Copy link
Contributor

strangely, it looks like from_json uses json_name but to_json never does. however to_json calls parse_json_key_camel, which will presumably normalise everything

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

2 participants