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

GetParam returns string instead of JSON encoded string #232

Open
machinekoder opened this issue Aug 15, 2018 · 0 comments
Open

GetParam returns string instead of JSON encoded string #232

machinekoder opened this issue Aug 15, 2018 · 0 comments

Comments

@machinekoder
Copy link

I noticed that the GetParam service returns a Python print string instead of something JSON encoded:
https://github.com/strands-project/mongodb_store/blob/kinetic-devel/mongodb_store/scripts/config_manager.py#L228

This makes it impossible to read any collection value types with the service in a consistent way.

Solution: return a JSON encoded string json.dumps() instead.

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