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

Json response object improvement #54

Closed
g105b opened this issue Sep 26, 2019 · 0 comments
Closed

Json response object improvement #54

g105b opened this issue Sep 26, 2019 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Sep 26, 2019

Needs a toString function to return the encoded text. Sub-objects should also be Json type, allowing for toString of only certain properties.

Json object should expose getString, getInt, ... functions that are throughout php.gt projects.

Json object should be iterable over keys and values.

@g105b g105b closed this as completed in ed2b8ab Nov 5, 2019
g105b added a commit that referenced this issue Nov 5, 2019
* Test Json usage with simple object

* Test Json usage with array

* Implement functionality for Json object, closes #54

* Add type-safe getters

* Update example to show type-safe getters
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