mirror of
https://github.com/status-im/status-go.git
synced 2025-02-09 05:16:35 +00:00
This PR introduces solution for #333 - it adds support for array JSON-RPC payload. unmarshalMessage tries to unmarshal JSON paylod into *jsonrpcMessage object, and in case of failure, analyzes error and, if it's unmarshalling array error, tries to unmarshal it as an array.
Description
Languages
Go
98.6%
Python
0.8%
Shell
0.3%
Makefile
0.1%
Groovy
0.1%