Skip to content

Condition function len() counting number of characters in string? #370

Answered by TwiN
salim-b asked this question in Q&A
Discussion options

You must be logged in to vote

This is the intended behavior.

If the target JSON path is an array, it will return the length of the array, while if it is anything else, it will consider it as a string and return the length of the string.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@salim-b
Comment options

@TwiN
Comment options

@TwiN
Comment options

Answer selected by salim-b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants