json-joy icon indicating copy to clipboard operation
json-joy copied to clipboard

Non-exported types?

Open datner opened this issue 1 year ago • 2 comments

Many types are unreachable by the user, for example in json-joy/esm/json-patch the OpAdd class takes a Path type argument. It is sourced from json-pointer, but json-pointer is not outwardly available. This can be seen in The typedoc site as well

datner avatar Nov 20 '24 17:11 datner

pump

datner avatar Feb 12 '25 11:02 datner

The provided sample in the documentation does not seem to work:

import {find, parseJsonPointer} from 'json-joy/{lib,es6,esm}/json-pointer';

...

However working with @jsonjoy.com/json-pointer works:

import { find, parseJsonPointer } from '@jsonjoy.com/json-pointer';

The documentation may have to be updated.

Clindbergh avatar Aug 25 '25 07:08 Clindbergh