Fetching JSON with Datastar

Foo

Example 1: User List (JSON Response)

Load users from a JSON API endpoint and display them

Found user(s)

No users loaded yet

Click "Load Users" to fetch data

Example 3: Simple Object Display

Display nested JSON data