def search(String selectVal) {
def responseData = [
results: AMApplication.findAllByName(selectVal)?.server?.name
]
render responseData as JSON
}
Controller method returning JSON
Posted on
by Kim
Subscribe to:
Post Comments (Atom)
0 Responses to "Controller method returning JSON":
Post a Comment