Searched refs:loads (Results 1 – 2 of 2) sorted by relevance
/zcbor-3.5.0-3.4.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.5.0-3.4.0/zcbor/ |
D | zcbor.py | 17 from cbor2 import (loads, dumps, CBORTag, load, CBORDecodeValueError, CBORDecodeEOF, undefined, 20 from json import loads as json_load, dumps as json_dump 1589 cbor_obj = loads(cbor_str) 1599 cbor_obj = loads(cbor_str) 1681 return self.obj_to_yaml(loads(cbor_str), yaml_compat=yaml_compat) 1698 return self.obj_to_json(loads(cbor_str), yaml_compat=yaml_compat)
|