KittyMac / Sextant

High performance JSONPath queries for Swift
MIT License
50 stars 5 forks source link

concat function is not working properly #7

Closed snr-lab closed 10 months ago

snr-lab commented 10 months ago

input { "x": "1", "Y": 2 }

jsonpath $.concat($.x,"_",$.y)

expected output 1_2

actual output 1_

KittyMac commented 10 months ago

should be fixed in v0.4.27

input

{"x":"1","Y":2,"z":true}

path

$.concat($.x,"_",$.Y,"_",$.z)

output

1_2_true
snr-lab commented 10 months ago

Thank you @KittyMac