@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
37 lines (32 loc) • 1.99 kB
JavaScript
;
var _enum = require('./JSONPath/enum.cjs');
var convertJsonPathToPointer = require('./JSONPath/utils/convertJsonPathToPointer/convertJsonPathToPointer.cjs');
var getJSONPath = require('./JSONPath/utils/getJSONPath/getJSONPath.cjs');
var _enum$1 = require('./JSONPointer/enum.cjs');
var convertJsonPointerToPath = require('./JSONPointer/utils/convertJsonPointerToPath/convertJsonPointerToPath.cjs');
var escapeSegment = require('./JSONPointer/utils/escape/escapeSegment.cjs');
var escapePath = require('./JSONPointer/utils/escape/escapePath.cjs');
var unescapePath = require('./JSONPointer/utils/escape/unescapePath.cjs');
var getValue = require('./JSONPointer/utils/manipulator/getValue.cjs');
var setValue = require('./JSONPointer/utils/manipulator/setValue.cjs');
var compileSegments = require('./JSONPointer/utils/manipulator/utils/compileSegments.cjs');
var applyPatch = require('./JSONPointer/utils/patch/applyPatch/applyPatch.cjs');
var compare = require('./JSONPointer/utils/patch/compare/compare.cjs');
var difference = require('./JSONPointer/utils/patch/difference/difference.cjs');
var mergePatch = require('./JSONPointer/utils/patch/mergePatch/mergePatch.cjs');
exports.JSONPath = _enum.JSONPath;
exports.convertJsonPathToPointer = convertJsonPathToPointer.convertJsonPathToPointer;
exports.getJSONPath = getJSONPath.getJSONPath;
exports.JSONPointer = _enum$1.JSONPointer;
exports.convertJsonPointerToPath = convertJsonPointerToPath.convertJsonPointerToPath;
exports.escapeSegment = escapeSegment.escapeSegment;
exports.escapePath = escapePath.escapePath;
exports.unescapePath = unescapePath.unescapePath;
exports.unescapeSegment = unescapePath.unescapePath;
exports.getValue = getValue.getValue;
exports.setValue = setValue.setValue;
exports.compilePointer = compileSegments.compilePointer;
exports.applyPatch = applyPatch.applyPatch;
exports.compare = compare.compare;
exports.difference = difference.difference;
exports.mergePatch = mergePatch.mergePatch;