Fleece icon indicating copy to clipboard operation
Fleece copied to clipboard

Expose a type alias of the underlying JsonValue representation

Open gusty opened this issue 6 years ago • 1 comments

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.

gusty avatar Sep 27 '18 09:09 gusty

Sounds like a good thing!

wallymathieu avatar Oct 15 '18 07:10 wallymathieu