Integration and Interoperability with External Java Class Libraries in The Leola Programming Language
gcfg
deps {
classpath = ["lib/gson.jar"]
}
leola
import "com.google.gson.Gson"
class Person(name, age) { }
func main() {
def json = '{"name": "Alice", "age": 25}'
def gson = new Gson()
def person = gson.fromJson(json, Person)
}