Skip to content

Add JSON pointer support - #12

Merged
AndreFavotto merged 3 commits into
epics-modules:mainfrom
essioc:feat-json-pointer-support
May 5, 2026
Merged

AndreFavotto merged 3 commits into
epics-modules:mainfrom
essioc:feat-json-pointer-support

Conversation

@essioc

@essioc essioc commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

This change list replaces existing recursive search mechanism with JSON pointer https://datatracker.ietf.org/doc/html/rfc6901

Previous recursive search mechanism is removed, and INP/OUT record parser is modified to handle empty target, as JSON specifies pointer of empty string as root pointer.

essioc added 3 commits March 23, 2026 12:34
Previously, the module recursively looped and checked
key in the iterable. It had a limitation that it could not handle
mixed types, root array, and empty key.

JSON Pointer solves this problem because it can address all points in a
JSON object whether it is an array or a dictionary.

See also: https://datatracker.ietf.org/doc/html/rfc6901

BREAKING CHANGE: Previous json field addressing will no longer work
@essioc
essioc force-pushed the feat-json-pointer-support branch from 0a1b4bb to ff966d0 Compare April 22, 2026 15:39
@essioc
essioc marked this pull request as draft April 22, 2026 16:49
@essioc
essioc marked this pull request as ready for review April 27, 2026 10:24
@essioc
essioc marked this pull request as draft April 27, 2026 10:29
@essioc
essioc marked this pull request as ready for review April 27, 2026 10:38

@AndreFavotto AndreFavotto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for missing this. Looks good!

@AndreFavotto
AndreFavotto merged commit a2ba038 into epics-modules:main May 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants