Does JEXL API work in Scala?

241 views Asked by At

Assuming that foo.method() can be call in a Jexl expression on java, is this possible to happen using the same api in Scala.

1

There are 1 answers

0
Alex Fruzenshtein On

Scala allows to use all Java libs, Jexl isn't an exception. So you can make a call of Jexl class methods in Scala as well.

As example:

val ja = new JexlArithmetic(false);
ja.add(null, null) // 0