Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This library provides a JSON tree view. You feed it JSON, and it transforms it into interactive HTML.

Try the [online demo](https://microsoft.github.io/elm-json-tree-view/example/index.html) ([source](https://github.com/Microsoft/elm-json-tree-view/blob/master/example/src/Main.elm))
Try the [online demo](https://microsoft.github.io/elm-json-tree-view/example/index.html) ([source](example/src/Main.elm))

Features:

Expand All @@ -13,7 +13,7 @@ Features:

## Usage

See the [docs](http://package.elm-lang.org/packages/Microsoft/elm-json-tree-view/latest) or look at the example app's [source code](https://github.com/Microsoft/elm-json-tree-view/blob/master/example/src/Main.elm).
See the [docs](http://package.elm-lang.org/packages/Microsoft/elm-json-tree-view/latest) or look at the example app's [source code](example/src/Main.elm).

But if you really insist on something super simple, here goes:
```elm
Expand All @@ -28,8 +28,8 @@ main =
config = { onSelect = Nothing, toMsg = always () }
```

Note that the above example is only meant to give you a taste. It does not wire everything up, which means that some things will be broken (i.e. expand/collapse). See the [docs](http://package.elm-lang.org/packages/Microsoft/elm-json-tree-view/latest) and the example app for more details.
Note that the above example is only meant to give you a taste. It does not wire everything up, which means that some things will be broken (i.e. expand/collapse). See the [docs](http://package.elm-lang.org/packages/Microsoft/elm-json-tree-view/latest) and the [example app](example/src/Main.elm) for more details.

## Thanks

UI based on Gildas Lormeau's [JSONView](https://github.com/gildas-lormeau/JSONView-for-Chrome) Chrome extension.
UI based on Gildas Lormeau's [JSONView](https://github.com/gildas-lormeau/JSONView-for-Chrome) Chrome extension.