Skip to content

Releases: truocphan/json-duplicate-keys

2023.8.21

21 Aug 04:25
Compare
Choose a tag to compare

2023.8.12

12 Aug 16:17
Compare
Choose a tag to compare
  • Added new function: normalize_key
  • Change the default debug error message to False

Full Changelog: 2023.8.8...2023.8.12

2023.8.8

08 Aug 13:10
Compare
Choose a tag to compare

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: 23.2.7...2023.8.8

23.2.7

07 Feb 04:56
ca5c697
Compare
Choose a tag to compare

Full Changelog: 22.5.28...23.2.7

22.5.28

28 May 15:49
1a528ac
Compare
Choose a tag to compare

Full Changelog: 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

27 Apr 18:29
9577517
Compare
Choose a tag to compare