Featured post
json rpc - When implementing a JSONRPC 2.0 server, is it required to support both named, and positional arguments? -
according spec here: http://groups.google.com/group/json-rpc/web/json-rpc-2-0
more specifically, section:
if present, parameters rpc call must provided structured value. either by-position through array or by-name through object.
to me seems obvious both styles must supported, i've filed bug report , developer feels it's developers decide method support, , spec doesn't require both.
i can't find official answer, other quoted above, other developer doesn't interpret same way do.
so, general consensus?
i agree fully, outlined in above documentation. word "must" in 4.2 sentence 1 requires "structured value". "structured value" later defined second sentence. ignore 1 of options change definition of "structured value" violation of json-rpc 2.0 specification
- if present, parameters rpc call must provided structured value.
- either by-position through array or by-name through object.
- Get link
- X
- Other Apps
Comments
Post a Comment