JsonFile context
Provides information about the current JSON source file. This context is used to allow references between JSON files.
const JsonFileContext: ComponentContext<JsonFileContext>Accessor
Section titled “Accessor”const myContext = useContext(JsonFileContext);Context interface
Section titled “Context interface”| path | optionalstringThe path of the current JSON file. May be different from the path on disk. |
| symbol | [unresolved link]The symbol for the value in this JSON file |
| url | optionalstringThe URL of the current JSON file |