Searched refs:loads (Results 1 – 2 of 2) sorted by relevance
/zcbor-3.6.0/tests/scripts/ |
D | test_zcbor.py | 196 def loads(string): function 197 return cbor2.loads(string) 270 struct = loads(data) 271 struct2 = loads(struct.value[3]) # manifest 272 struct3 = loads(struct2[3]) # common sequence 273 struct4 = loads(struct3[4]) # override params 287 struct = loads(data) 288 struct2 = loads(struct.value[2]) # authentication 289 struct3 = loads(struct2[1]) 303 struct = loads(data) [all …]
|
/zcbor-3.6.0/zcbor/ |
D | zcbor.py | 18 from cbor2 import (loads, dumps, CBORTag, load, CBORDecodeValueError, CBORDecodeEOF, undefined, 21 from json import loads as json_load, dumps as json_dump 1626 cbor_obj = loads(cbor_str) 1636 cbor_obj = loads(cbor_str) 1718 return self.obj_to_yaml(loads(cbor_str), yaml_compat=yaml_compat) 1735 return self.obj_to_json(loads(cbor_str), yaml_compat=yaml_compat)
|