util
util: { copy: any; equal: any; escapeFragment: any; escapeJsonPointer: any; escapeQuotes: any; getData: any; getProperty: any; schemaHasRules: any; toHash: any; toQuotedString: any; unescapeFragment: any; unescapeJsonPointer: any }
Type declaration
-
copy: function
- copy(obj: any, target?: any): any
-
Parameters
-
obj: any
-
Optional target: any
Returns any
-
equal: function
- equal(obj: any, target: any): boolean
-
Parameters
Returns boolean
-
escapeFragment: function
- escapeFragment(str: string): string
-
Parameters
Returns string
-
escapeJsonPointer: function
- escapeJsonPointer(str: string): string
-
Parameters
Returns string
-
escapeQuotes: function
- escapeQuotes(str: string): string
-
Parameters
Returns string
-
getData: function
- getData(jsonPointer: string, dataLevel: number, paths: string[]): string
-
Parameters
-
jsonPointer: string
-
dataLevel: number
-
paths: string[]
Returns string
-
getProperty: function
- getProperty(str: string): string
-
Parameters
Returns string
-
schemaHasRules: function
- schemaHasRules(schema: object, rules: any): string
-
Parameters
-
schema: object
-
rules: any
Returns string
-
toHash: function
- toHash(source: string[]): {}
-
Parameters
Returns {}
-
[index: string]: true | undefined
-
toQuotedString: function
- toQuotedString(str: string): string
-
Parameters
Returns string
-
unescapeFragment: function
- unescapeFragment(str: string): string
-
Parameters
Returns string
-
unescapeJsonPointer: function
- unescapeJsonPointer(str: string): string
-
Parameters
Returns string