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
Variables [hide private]
  parser = JSONParser()
  dumps = getattr(parser, 'encode')
  loads = getattr(parser, 'decodeAsObject')
  JSONDecodeException = None
  __requestID = 0
  __requestIDPrefix = 'ID'
  __lastRequestID = None
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.