new jsonrpcval(val, type)
Create a jsonrpcval object out of a plain javascript value
Parameters:
Name | Type | Description |
---|---|---|
val |
any | |
type |
string | Any valid json type name (lowercase). If null, 'string' is assumed |
- Source: