Skip to main content
100%

i'm trying to load a json file with some metadata in it

✓ Published0🌍 Public
Aamundo
Last edited Mar 1, 2013
Created on Mar 1, 2013

This example demonstrates loading metadata from a JSON file into a JavaScript application for later lookup by file identifier. The code defines a `Metadata` object that uses jQuery’s `$.getJSON` to fetch `metadata.json` and store the array of recording details. It relies on the Underscore.js `_.where` function to filter records by `file_id` during lookup. The application initializes `Metadata` and prepares to retrieve individual entries, such as `hil001`, which include fields like language, filename, and speaker. The visualization shows how external data can be structured and accessed for subsequent display or analysis.

AI-generated description

Similar vizzes