Lars Marius Garshol
Lars Marius Garshol
Yeah, if you don't have valid JSON then JSLT isn't going to help you much. Recommendations would be interesting!
@afranzi Thank you! :) @vector623 Not making the syntax be JSON was a deliberate choice on my part. I originally did a few designs with a JSON syntax, but they...
Thanks, @afranzi! 👍
@fsanti68 That sounds very interesting. I was hoping people would start using JSLT for this sort of thing. Is your project open source? It would be interesting to have a...
@eutkin At Schibsted we used JSLT in a pipeline that processed 1.2 billion events (small JSON files) every day. It ran something like 9-12 billion transforms a day. We couldn't...
@up-to-you I didn't know that was possible. Done now. Thanks!
Yes, I've been thinking that this is a feature the language needs. It's related to being able to get key `x` from all objects in an array, without having to...
Hmmmm. I don't really understand the purpose of this PR. What are "namespaced provider modules"? Why do we want it?
Another workaround is to simply do: ``` def first(array) $array[0] if (.object) ( { "category": fallback(.object.category, first([for (.object.topics.relatedTopics.list) .element])) } ) ``` But I agree. It would be nice to...
Saw yet another example of people needing this today: ``` def get-ckp() let ckp = [for (.identifiers) .[3:] if (starts-with(., "cx"))] $ckp[0] ```