Open gregsdennis opened 11 months ago
Definitely useful.
I believe the majority of users of JSONPath would perceive true
and false
to be part of a common type boolean
, so I would design this function extensions to the principle of least surprise.
This issue is now listed in #480.
I don't think linking this issue in a list warrants closing it. This still remains unresolved.
Like all other issues marked revisit-after-base-done. We had this discussion.
Related to #172
This StackOverflow question needs the ability to isolate values of a given type. I think this would make a good function.
The function would return a string (one of
object
,array
,number
,string
,boolean
,null
) that indicates the value type of the parameter, which is aValueType
.Not sure if
true
andfalse
should be combined intoboolean
or not. Technically, these are merely tokens, not actual "boolean" values, though the association is strong.