The documentation claims that "JsonValue is supported as both argument and return type", but declaring a return type that is a subtype of JsonValue is not supported.
For instance, JsonNumber returnJsonNumber(double arg); fails with:
com.flowingcode.vaadin.testbench.rpc.IllegalRpcSignatureException: Return type interface elemental.json.JsonNumber is not supported by TestBench-RPC.
The documentation claims that "JsonValue is supported as both argument and return type", but declaring a return type that is a subtype of
JsonValueis not supported.For instance,
JsonNumber returnJsonNumber(double arg);fails with: