Skip to content

Releases: cybergeek1943/t4json

v1.4.3

15 Aug 16:26

Choose a tag to compare

  • Added multi_iter() method to T4Json instance so that multiple variables can be looped through the data at the same time.
  • Also added multi_iter() as a global function.
  • Cleaned up code and made it just a bit faster.
  • The dunder methods of the T4Json class were improved.

v1.4.2

29 Jun 20:58

Choose a tag to compare

  • Added types() method to T4Json instance.
  • Added convert_singular_lists() method.
  • Added convert_singular_lists parameter to flatten() method.
  • The flatten() method should generally be up to 15% faster.
  • The chain_key_include_index of the flatten() method was fixed/improved.
  • cleaned up code in internal methods.

v1.4.1

07 Jun 21:45

Choose a tag to compare

  • Added support for re-calling T4Json instances to load new data.
  • Changed the chain_key parameter to chain_keys within the flatten() method.

v1.4.0

02 Jun 02:03

Choose a tag to compare

  • Slicing Operations now supported on T4Json instances.
  • Support for adding and subtracting items or pairs to/from T4Json instances.
  • Support for iterating through a T4Json instance.
  • Support for getting the length of a T4Json instance - (number of all the pairs/items on the first level).
  • Support for checking equality (of data) between two T4Json instances.
  • Support for checking in-equality (number of all the pairs/items on the first level) between two T4Json instances.
  • Default support for printing a T4Json instance.
  • Adding a pretty print method.
  • Cleaned up code.

v1.3.3

19 May 21:40

Choose a tag to compare

  • Greatly improved the error messages.
  • Fixed t4json.save() method.
  • Improved t4json.load() & load_file() & load_from_url() & load_from_string()
  • Added t4json.load_object() for loading python objects.
  • Added new parameters to t4json.load_from_url() for making POST (and others) requests. Also added support for headers and body.
  • Improved walking up levels in nested data using paths.
  • Improved support for key paths to work with non-string objects that are keys.
  • Cleaned up code in general.