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

Streamline conversions to JSON types #164

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Oct 6, 2021

Defined a JSONValueConvertible protocol that provides more flexibility in converting types to JSONValue, JSONArray, and JSONObject. #159 initially implemented this protocol, but I split it out into this separate PR because of concerns about potential ambiguity regarding which initializers would be called in various situations.

Fixed #163.

/cc @macdrevx

@1ec5 1ec5 added op-ex Refactoring, Tech Debt or any other operational excellence work. feature New feature request. labels Oct 6, 2021
@1ec5 1ec5 force-pushed the 1ec5-json-convertible-163 branch from 843d78e to b876c31 Compare October 6, 2021 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request. op-ex Refactoring, Tech Debt or any other operational excellence work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add protocol that converts to JSONValue
1 participant