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
const myContext = useContext(JsonFileContext);
Context interface
path | optionalstring The path of the current JSON file. May be different from the path on disk. |
symbol | JsonOutputSymbol The symbol for the value in this JSON file |
url | optionalstring The URL of the current JSON file |