Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Add support for jsonValue() in JsonTreeWriter #1

Closed
wants to merge 1 commit into from

Conversation

ZacSweers
Copy link
Collaborator

Port of google#1819

@ZacSweers
Copy link
Collaborator Author

We don't have CI set up here but it passes in the original PR

* @since 2.8.7
*/
@Override public JsonWriter jsonValue(String value) throws IOException {
put(JsonParser.parseString(value));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have full context here but do we want to check for null value?
I see other methods do
if (value == null) {
return nullValue();
}

@ZacSweers
Copy link
Collaborator Author

Scrapping this as we no longer need this fork

@ZacSweers ZacSweers closed this Nov 18, 2020
@ZacSweers ZacSweers deleted the z/jsonValue branch November 18, 2020 00:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants