Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NavigableObject.wrap. Deprecate MapWriter.EMPTY and MapWriterMap. #3148

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Jan 31, 2025

Introduce NavigableObject.wrap to coerce its arg to a NavigableObject. Maybe call this method "of"?
Deprecate MapWriter.EMPTY; don't need it anymore (due to the above); was only used once.
Enhance Utils to not need MapWriterMap for its functions, and to slightly optimize for SimpleOrderedMap becoming a Map soon.
Deprecate MapWriterMap. Ultimately may simply make package scope and maybe rename to orient itself around it's NavigableObject-ness, which is what it's only used for, after the changes here.

No JIRA: too internal; low impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant