@winglet/json
Version:
TypeScript library for safe and efficient JSON data manipulation with RFC 6901 (JSON Pointer) and RFC 6902 (JSON Patch) compliance, featuring prototype pollution protection and immutable operations
16 lines (15 loc) • 1.23 kB
JavaScript
export { JSONPath } from './JSONPath/enum.mjs';
export { convertJsonPathToPointer } from './JSONPath/utils/convertJsonPathToPointer/convertJsonPathToPointer.mjs';
export { getJSONPath } from './JSONPath/utils/getJSONPath/getJSONPath.mjs';
export { JSONPointer } from './JSONPointer/enum.mjs';
export { convertJsonPointerToPath } from './JSONPointer/utils/convertJsonPointerToPath/convertJsonPointerToPath.mjs';
export { escapeSegment } from './JSONPointer/utils/escape/escapeSegment.mjs';
export { escapePath } from './JSONPointer/utils/escape/escapePath.mjs';
export { unescapePath, unescapePath as unescapeSegment } from './JSONPointer/utils/escape/unescapePath.mjs';
export { getValue } from './JSONPointer/utils/manipulator/getValue.mjs';
export { setValue } from './JSONPointer/utils/manipulator/setValue.mjs';
export { compilePointer } from './JSONPointer/utils/manipulator/utils/compileSegments.mjs';
export { applyPatch } from './JSONPointer/utils/patch/applyPatch/applyPatch.mjs';
export { compare } from './JSONPointer/utils/patch/compare/compare.mjs';
export { difference } from './JSONPointer/utils/patch/difference/difference.mjs';
export { mergePatch } from './JSONPointer/utils/patch/mergePatch/mergePatch.mjs';