Namespacedojox.rpc

Jump to PropertiesJump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to PropertiesJump to FunctionsJump to NamespacesConstructorsBack to top

Constructordojox.rpc.Service(smd: Object, options)
Take a string as a url to retrieve an smd or an object that is an smd or partial smd to use as a definition for the service

Jump to PropertiesJump to ConstructorsJump to NamespacesFunctionsBack to top

evaluates the passed string-form of a JSON object. A JSON Schema object that can be used to advise the parsing of the JSON (defining ids, date properties, urls, etc) which may defined by setting dojox.currentSchema to the current schema you want to use for this evaluation json: a string literal of a JSON item, for instance: '{ "foo": [ "bar", 1, { "baz": "thud" } ] }'
Functiondojox.rpc.getTarget(smd, method)
Functiondojox.rpc.onUpdate(object: Object, attribute, oldValue, newValue)
This function is called when an existing object in the system is updated. Existing objects are found by id.
Indexes and resolves references in the JSON object. A JSON Schema object that can be used to advise the handling of the JSON (defining ids, date properties, urls, etc)
Functiondojox.rpc.toJson(it: Object, prettyPrint: Boolean?, schema: Object?)
Create a JSON serialization of an object. This has support for referencing, including circular references, duplicate references, and out-of-message references id and path-based referencing is supported as well and is based on http://www.json.com/2007/10/19/json-referencing-proposal-and-library/.
Functiondojox.rpc.toNamed(method, args, strictParams)
Functiondojox.rpc.toOrdered(method, args)

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top