google-gemini / deprecated-generative-ai-android

Make common parse lenient (#179)
Per [b/346812151](https://b.corp.google.com/issues/346812151), This updates the json parser in common to be lenient in its decoding. Otherwise, it can not properly decode json literals such as: ```json { "result": true } ``` A test has been added to track this change as well.
Daymon Daymon committed on Jun 12, 2024, 07:13 PM
Showing 5 changed files +78 additions -0 deletions
Browse files at this commit โ†’