MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / iterateEscapesJSONParse

Function iterateEscapesJSONParse

packages/components/src/utils.ts:708–715  ·  view source on GitHub ↗
(input: any, reverse: Boolean)

Source from the content-addressed store, hash-verified

706}
707
708function iterateEscapesJSONParse(input: any, reverse: Boolean): any {
709 for (const element in input) {
710 const type = typeof input[element]
711 if (type === 'string') input[element] = handleEscapesJSONParse(input[element], reverse)
712 else if (type === 'object') input[element] = iterateEscapesJSONParse(input[element], reverse)
713 }
714 return input
715}
716
717export function handleEscapeCharacters(input: any, reverse: Boolean): any {
718 const type = typeof input

Callers 1

handleEscapeCharactersFunction · 0.85

Calls 1

handleEscapesJSONParseFunction · 0.85

Tested by

no test coverage detected