int l = soln.getLiteral("goals").getInt() ;

"goals"  contain integer value but it gives me exception:

Error converting typed value to a number.

Reply via email to