/** * Resource handler for the `json` asset type. Loads a JSON file and parses it into the JavaScript * value it encodes: an object, array, string, number, boolean or null. * * @ignore */ export class JsonHandler extends ResourceHandler { constructor(app: any); /** * TextDecoder for decoding binary data. * * @type {TextDecoder|null} * @private */ private decoder; /** * Parses raw DataView and returns string. * * @param {DataView} data - The raw data as a DataView * @returns {object} The parsed resource data. */ openBinary(data: DataView): object; } import { ResourceHandler } from './handler.js';