Skip to content

JsonTree.js v3.1.0 - URL fetching support! Email/URL opening support! UI enhancements! Fixes!!

Compare
Choose a tag to compare
@william-troup william-troup released this 07 Sep 13:38
· 406 commits to main since this release
781a6ab

New Features:

  • Added URL support for the "data" binding option!
  • Added URL/Email opening support!

Configuration Options:

  • Added a new option called "text.propertyColonCharacter", which states the character to use to split up the property name/index and value (defaults to ":").

Binding Options:

  • The binding option "ignore.emptyObjects" now defaults to false.
  • The binding option "data" will now accept a URL to a JSON file.
  • Added a new binding option called "showUrlOpenButtons" (defaults to true), which states if a URL can be opened in a new window.
  • Added a new binding option called "showEmailOpenButtons" (defaults to true), which states if an Email can be opened in the default email editor.

UI Improvements:

  • Undefined and Null values now appear more clearly when "showValueColors" is turned on.
  • When a value is a function and has a name, the text "function" is now shown at the start of the value.
  • When the binding option "ignore.emptyObjects" is set to false, objects that are empty show a zero count, and a new notice text label is shown under the header.

Configuration Options:

  • Added a new option called "text.noPropertiesText", which states the text to show when no properties are available for an object/map (defaults to "There are no properties to view.").
  • Added a new option called "text.openText", which states the open button text to show next to a URL/Email (defaults to "open").
  • Added a new option called "text.openSymbolText", which states the open button symbol text to show next to a URL/Email (defaults to "⤤").

Improvements:

  • Updates to the README files to make the features stand out.

Fixes:

  • Fixed a CSS fault that caused the checkboxes to be centred in the Side Menu.