Skip to content

Wrap primitive and array parameter into an array as in JSON-RPC 2.0#718

Merged
jonahgraham merged 1 commit into
mainfrom
dh-wrap-param
Apr 11, 2023
Merged

Wrap primitive and array parameter into an array as in JSON-RPC 2.0#718
jonahgraham merged 1 commit into
mainfrom
dh-wrap-param

Conversation

@dhuebner

Copy link
Copy Markdown
Contributor

The counter part off my previous PR handling the unwrapping of primitiv and array parameter types as described in JSON-RPC 2.0.

Added more tests with different parameter types that hopefully makes clear what in wrapped/unwrapped.

See also: #553

@jonahgraham jonahgraham merged commit a526054 into main Apr 11, 2023
@jonahgraham jonahgraham added this to the 0.21.0 milestone Apr 11, 2023
@jonahgraham jonahgraham deleted the dh-wrap-param branch April 11, 2023 15:44
import com.google.gson.JsonSyntaxException;
import com.google.gson.TypeAdapter;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.internal.Primitives;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@dhuebner Can you please have a look at #738 in relation to this new package dependency?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jonahgraham
Sure, will do. Thanks!

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