Lars Marius Garshol
Lars Marius Garshol
It's not so strange that this doesn't work. `[?(@.key == 'subscriptionIdVersion')]` isn't JSLT. It looks like some other language, maybe JSONPath?
I'm sure the file exists, but by default JSLT will only load modules from the classpath. So you have to use the API and give the parser a `FileSystemResourceResolver` for...
In the general case loading things from the file system could open all kinds of security holes, which we'd rather avoid. We could use the file system resolver in the...
The problem with ``` if ($len2 > maxLineLength or not ($rest)) ( { "SORLFN": .lfn, "SORZLN": $nr, "SORTXT": $line } // lineBreak ($nr + 1, [], $rest) //
My problem is I don't understand what you mean by "block actions", so right now I have no idea whether it belongs in the language or not. I don't understand...
I think it's not necessarily the best thing to focus on the "block action" concept directly. It may be more helpful if you can explain what you want to use...
No worries about having difficulties explaining. This stuff is hard. I'm still confused, because I don't understand what you're returning. So this code ``` if (condition) ( createJsonObject ({ "SORLFN":...
Could you include an example?
I have not been able to reproduce this, so without an example I will just have to close this as "not reproducible"
Let's start with the purpose: I assume the reason you are interested in this is to improve performance? From the looks of that JSLT you can do this: ``` let...