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

Expose a type alias of the underlying JsonValue representation #55

Open
gusty opened this issue Sep 27, 2018 · 1 comment
Open

Expose a type alias of the underlying JsonValue representation #55

gusty opened this issue Sep 27, 2018 · 1 comment

Comments

@gusty
Copy link
Member

gusty commented Sep 27, 2018

Internally in Fleece this is JsonValue, but externally this is not always re-exported.

Only for Newtonsoft it is defined as JsonValue, other implementations needs to open their specific namespace (ie: open FSharp.Data) in order to have JsonValue available.

This is normally not a big issue, but it would be nice (and possible clearer) if Fleece expose a unique type alias that maps to the specific JsonValue (or JToken) of the underlying Json lib.

It could be called JsonValue or JValue.

@wallymathieu
Copy link
Member

Sounds like a good thing!

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

No branches or pull requests

2 participants