|
3 | 3 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
4 | 4 | def normalize_key(name, dupSign_start="{{{", dupSign_end="}}}", _isDebug_=False): |
5 | 5 | import re |
6 | | - import sys |
7 | 6 |
|
8 | 7 | # User input data type validation |
9 | 8 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -32,7 +31,6 @@ def normalize_key(name, dupSign_start="{{{", dupSign_end="}}}", _isDebug_=False) |
32 | 31 | def loads(Jstr, dupSign_start="{{{", dupSign_end="}}}", ordered_dict=False, _isDebug_=False): |
33 | 32 | import json, re |
34 | 33 | from collections import OrderedDict |
35 | | - import sys |
36 | 34 |
|
37 | 35 | # User input data type validation |
38 | 36 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -192,7 +190,6 @@ def getObject(self): |
192 | 190 | def get(self, name, separator="||", parse_index="$", _isDebug_=False): |
193 | 191 | import re |
194 | 192 | from collections import OrderedDict |
195 | | - import sys |
196 | 193 |
|
197 | 194 | # User input data type validation |
198 | 195 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -243,7 +240,6 @@ def get(self, name, separator="||", parse_index="$", _isDebug_=False): |
243 | 240 | def set(self, name, value, separator="||", parse_index="$", dupSign_start="{{{", dupSign_end="}}}", ordered_dict=False, _isDebug_=False): |
244 | 241 | import re |
245 | 242 | from collections import OrderedDict |
246 | | - import sys |
247 | 243 |
|
248 | 244 | # User input data type validation |
249 | 245 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -374,7 +370,6 @@ def set(self, name, value, separator="||", parse_index="$", dupSign_start="{{{", |
374 | 370 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
375 | 371 | def update(self, name, value, separator="||", parse_index="$", _isDebug_=False): |
376 | 372 | import re |
377 | | - import sys |
378 | 373 |
|
379 | 374 | # User input data type validation |
380 | 375 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -414,7 +409,6 @@ def update(self, name, value, separator="||", parse_index="$", _isDebug_=False): |
414 | 409 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
415 | 410 | def delete(self, name, separator="||", parse_index="$", _isDebug_=False): |
416 | 411 | import re |
417 | | - import sys |
418 | 412 |
|
419 | 413 | # User input data type validation |
420 | 414 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -456,7 +450,6 @@ def delete(self, name, separator="||", parse_index="$", _isDebug_=False): |
456 | 450 | def dumps(self, dupSign_start="{{{", dupSign_end="}}}", _isDebug_=False, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, sort_keys=False): |
457 | 451 | import json, re |
458 | 452 | from collections import OrderedDict |
459 | | - import sys |
460 | 453 |
|
461 | 454 | # User input data type validation |
462 | 455 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -503,7 +496,6 @@ def dump(self, Jfilepath, dupSign_start="{{{", dupSign_end="}}}", _isDebug_=Fals |
503 | 496 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
504 | 497 | def flatten(self, separator="||", parse_index="$", ordered_dict=False, _isDebug_=False): |
505 | 498 | from collections import OrderedDict |
506 | | - import sys |
507 | 499 |
|
508 | 500 | # User input data type validation |
509 | 501 | if type(_isDebug_) != bool: _isDebug_ = False |
@@ -564,7 +556,6 @@ def __convert_Jobj_to_Jflat(Jobj, key=None): |
564 | 556 | def unflatten(self, separator="||", parse_index="$", ordered_dict=False, _isDebug_=False): |
565 | 557 | import re |
566 | 558 | from collections import OrderedDict |
567 | | - import sys |
568 | 559 |
|
569 | 560 | # User input data type validation |
570 | 561 | if type(_isDebug_) != bool: _isDebug_ = False |
|
0 commit comments