Package library :: Package pyjamas :: Module JSONService
[hide private]
[frames] | no frames]

Module JSONService

source code

JSONService is a module providing JSON RPC Client side proxying.

Classes [hide private]
  JSONServiceError
  JSONService
  JSONRequestInfo
  JSONResponseTextHandler
  ServiceProxy
  JSONProxy
Functions [hide private]
 
nextRequestID()
Return Next Request identifier.
source code
 
create_object(items)
creates an object by looking for __jsonclass__ hint, loading the class from that and then constructing an object from the rest of the dictionary as kwargs
source code
 
_decode_response(json_str) source code
Variables [hide private]
  __requestID = 0
  __requestIDPrefix = 'ID'
  __lastRequestID = None
hash(x)
Function Details [hide private]

nextRequestID()

source code 

Return Next Request identifier. MUST be a JSON scalar (String, Number, True, False), but SHOULD normally not be Null, and Numbers SHOULD NOT contain fractional parts.