Lars Marius Garshol

Results 322 comments of Lars Marius Garshol

If you put it in the JSLT source field in the playground you get: ``` com.schibsted.spt.data.jslt.JsltException: Parse error: Encountered " "," ", "" at line 2, column 8. Was expecting...

Reopening, because those error messages really could be better than they are.

The rationale makes sense, but is this widely enough used that it's worth building it directly into the language? Can we implement it without adding external dependencies?

Yes, I was thinking the same: we can make this as a module with a known name (like the experimental module that was introduced during the weekend) and have it...

This is a syntax ambiguity in the language grammar. It's pretty confusing, so I think we need to do something about this. JSLT thinks the `[for(...) ...]` is an array...

We probably should do this, but it's a bit tricky while also compiling to Java 8. https://old.reddit.com/r/java/comments/nhukbq/i_wrote_jmail_a_lightweight_java_library_for/gyy9uba/

By design, all values in JSLT are JSON values, and so the only alternative is `null`. jq does have a concept of nothing, but I found it abhorrent. In practical...

If this happens, is it not happening in Java code that calls JSLT? If it's happening in Java code, cannot you detect the `null` and simply omit it yourself? Sorry,...

One example here https://github.com/CoreMedia/coremedia-headless-server/tree/master/extensions/jslt-postprocessor

These guys are using JSLT, and will apparently publish an article about it https://medium.com/@FranziCros/throwing-down-the-gauntlet-to-the-data-quality-with-data-schemas-7f702d47114