MCPcopy Create free account
hub / github.com/WebReflection/JSONH / unpack

Function unpack

py2/jsonh.py:52–65  ·  view source on GitHub ↗
(hlist)

Source from the content-addressed store, hash-verified

50 return [klength] + keys + result
51
52def unpack(hlist):
53 length = len(hlist)
54 klength = hlist[0]
55 result = []
56 i = 1 + klength
57 while i < length:
58 o = dict()
59 ki = 0
60 while ki < klength:
61 ki = ki + 1
62 o[hlist[ki]] = hlist[i]
63 i = i + 1
64 result.append(o)
65 return result
66

Callers 2

loadFunction · 0.70
loadsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected