schema-finder
Version:
A simple React component for viewing and exploring a JSONSchema
11 lines • 387 B
TypeScript
/**
* Converts JSON pointer to array of strings path
*
* @param ref JSON pointer
*
* @example
* parseRef("#/definitions/field") // -> ["definitions", "field"]
*/
export declare const parseRef: (ref?: string | undefined) => string[] | undefined;
export declare const getNameFromRef: (ref?: string | undefined) => string | undefined;
//# sourceMappingURL=get-name-from-ref.d.ts.map