# j-JSONTree

> j-JSONTree erstellt eine Baumansicht aus JSON-Daten.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: de
Content-SHA256: 0d076afe5bf2b59d691c75b01867c5cdc636c792cf4481762055f0b339dbcef9
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

__j-JSONTree__ erstellt eine Baumansicht aus JSON-Daten.


__Konfiguration__:

- `click {String}` ein Link zum `function(selected_path, component)`

Verwenden Sie es mit `<ui-component name="jsontree">`. Wenn die Komponente noch nicht geladen ist, lädt jComponent sie bei der ersten Verwendung von der Adresse in `DEF.fallback` herunter (standardmäßig das CDN Componentator). Autor: Martin Smola. Quelle: Componentator-Komponenten-Repository, MIT-Lizenz.

```html example.html
<ui-component name="jsontree" path="json" config="click:jsontree_click">Sample JSON data</ui-component>
<script>

	setTimeout(function() {
		SET('json', '{"datecreated":"2018-06-18T22:27:00.000Z","name":"j-JSONTree","color":"transparent","version":1,"responsive":true,"picture":"picture.png","dependencies":"","author":"Martin Smola","email":"smola.martin@gmail.com","license":"MIT"}');
	}, 2000);

	function jsontree_click(path) {
		console.log('Path:', path);
	};
</script>
```
