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
What version of protobuf and what language are you using? 4.29.2 Language: PHP
What operating system (Linux, Windows, ...) and version? Linux Mint 22 Cinnamon
What runtime / compiler are you using (e.g., python version or gcc version) PHP 8.1.31 / PHP 8.0.30
What did you do?
I have generated class class CreateSessionResult extends \Google\Protobuf\Internal\Message
// $jsonResult contain: {"@type":"type.googleapis.com/Ydb.Table.CreateSessionResult","sessionId":"my_string"} $mess = new CreateSessionResult(); $mess->mergeFromJsonString($jsonResult);
What did you expect to see
working code without error
What did you see instead?
Error parsing JSON @1:9: No such field: @type
Anything else we should know about your project / environment
for Any this fixed in #4502
The text was updated successfully, but these errors were encountered:
with flag $ignore_unknown=true - all work $mess->mergeFromJsonString($jsonResult, true);
But without ext-protobuf (use package google/protobuf) - flag not needed.
Sorry, something went wrong.
bshaffer
No branches or pull requests
What version of protobuf and what language are you using?
4.29.2
Language: PHP
What operating system (Linux, Windows, ...) and version? Linux Mint 22 Cinnamon
What runtime / compiler are you using (e.g., python version or gcc version) PHP 8.1.31 / PHP 8.0.30
What did you do?
I have generated class
class CreateSessionResult extends \Google\Protobuf\Internal\Message
What did you expect to see
working code without error
What did you see instead?
Anything else we should know about your project / environment
for Any this fixed in #4502
The text was updated successfully, but these errors were encountered: