Json-duplicate-keys

Latest version: v2024.4.20

Safety actively analyzes 639013 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2023.8.21

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/compare/2023.8.12...2023.8.21

2023.8.12

- Added new function: normalize_key
- Change the default debug error message to `False`

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/compare/2023.8.8...2023.8.12

2023.8.8

Upgrade and add new functions:
- 𝐥𝐨𝐚𝐝𝐬(): Deserialize a JSON format string to a class JSON_DUPLICATE_KEYS
- 𝐥𝐨𝐚𝐝(): Deserialize a JSON format string from a file to a class JSON_DUPLICATE_KEYS
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐠𝐞𝐭𝐎𝐛𝐣𝐞𝐜𝐭(): Get the JSON object
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐠𝐞𝐭(): Get value in the JSON object by name
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐬𝐞𝐭(): Set a new name and value for the JSON object
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐮𝐩𝐝𝐚𝐭𝐞(): Update new value for existing name in the JSON object
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐝𝐞𝐥𝐞𝐭𝐞(): Delete a key-value pair in a JSON object by key name
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐝𝐮𝐦𝐩𝐬(): Serialize a JSON object to a JSON format string
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐝𝐮𝐦𝐩(): Serialize a JSON object to a JSON format string and write to a file
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐟𝐥𝐚𝐭𝐭𝐞𝐧(): Flatten a JSON object to a single key-value pairs
- 𝐉𝐒𝐎𝐍_𝐃𝐔𝐏𝐋𝐈𝐂𝐀𝐓𝐄_𝐊𝐄𝐘𝐒.𝐮𝐧𝐟𝐥𝐚𝐭𝐭𝐞𝐧(): Unflatten a flattened JSON object back to a JSON object

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/compare/23.2.7...2023.8.8

23.2.7

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/compare/22.5.28...23.2.7

22.5.28

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/compare/22.4.28...22.5.28

Added 2 new functions: load and dump

- **load** function: load _Json Object_ from _File_

- **dump** function: dump _Json Object_ to _File_

22.4.28

**Full Changelog**: https://github.com/truocphan/json_duplicate_keys/commits/22.4.28

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.