LANSA ships a JavaScript library that provides you with an easy way to get to the fields and lists returned in JSON responses or to post data in JSON. You also use the list methods to get to JSON lists returned in a web page. To use this library, add external resources XWJDCJS1 (JavaScript file json2.js) and XWJ003 (JavaScript file std_json.js) to your webroutine.
Also see
Adding Fields to the JSON Request
Adding a List to the JSON Request
Defining JSON Request List Headers