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

Ability to decode json as associative array #63

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

Plytas
Copy link
Contributor

@Plytas Plytas commented Jan 2, 2025

With this change it is now possible to use ->json(associative: true) and get an associative array as opposed to stdObject. Also support for passing flags. There should be no breaking changes.

Lint and tests are passing.

@Plytas
Copy link
Contributor Author

Plytas commented Jan 2, 2025

@aydinfatih I have also implemented function calling on our fork so I will open a PR for that after this one. Just letting you know as this json change might not warrant a new release just yet.

@aydinfatih
Copy link
Contributor

@Plytas Thank you for your contribution.

@aydinfatih aydinfatih merged commit fd77c6b into google-gemini-php:beta Jan 8, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants