Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ readBool
Method
readBool
lib/py/src/protocol/TJSONProtocol.py:467–468 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
465
readListEnd = readCollectionEnd
466
467
def
readBool(self):
468
return
(False
if
self.readJSONInteger() == 0
else
True)
469
470
def
readNumber(self):
471
return
self.readJSONInteger()
Callers
1
test_TJSONProtol_read
Method · 0.95
Calls
1
readJSONInteger
Method · 0.95
Tested by
1
test_TJSONProtol_read
Method · 0.76