]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commit
[rpc-light] Do not wait for an optional field when unparsing an {JSON,XML}RPC.
authorThomas Gazagnaire <thomas.gazagnaire@eu.citrix.com>
Mon, 11 Jan 2010 17:44:38 +0000 (17:44 +0000)
committerThomas Gazagnaire <thomas.gazagnaire@eu.citrix.com>
Mon, 11 Jan 2010 17:44:38 +0000 (17:44 +0000)
commitb5cfd181a1fae8dc363112403e35aa4a1f92e82b
tree347edf1c7a8b2f0193ccd5f8283794759977f2b1
parentd4565cbd8c8a639cc216c613f2241de1098612b0
[rpc-light] Do not wait for an optional field when unparsing an {JSON,XML}RPC.

If you have:
type t = { foo : int option; bar : string } with rpc

It is allright to do not have the foo field if its value is None

Signed-off-by: Thomas Gazagnaire <thomas.gazagnaire@citrix.com>
rpc-light/examples/Makefile
rpc-light/p4_rpc.ml