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
When using Carmen in Rails, converting a Country to JSON results in a SystemStackError: stack level too deep error.
SystemStackError: stack level too deep
Steps to reproduce:
us = Carmen::Country.named('United States')
us.to_json
The text was updated successfully, but these errors were encountered:
I was able to reproduce. Thanks for reporting.
Sorry, something went wrong.
Is there a solution to this? How do I return a json object including country and subregions?
f97bca9
Merge pull request #217 from zarelit/json_serialization
c7884bc
Add serializers friendly to_hash. Fixes #209
No branches or pull requests
When using Carmen in Rails, converting a Country to JSON results in a
SystemStackError: stack level too deep
error.Steps to reproduce:
us = Carmen::Country.named('United States')
us.to_json
The text was updated successfully, but these errors were encountered: