J-Express forum
June 04, 2020, 03:42:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: J-Express 2011 released. Download from jexpress.bioinfo.no
   Home   Help Search Login Register  
Pages: [1]
Author Topic: How to read JSON response with JYTHON script.  (Read 1235 times)
Posts: 14

View Profile Email
« on: November 09, 2017, 09:21:55 AM »


I am trying to read JSON response via JYTHON script. h

def assertresponse(input, context):
value = String(input)
#value = input.scannedDate()

The above script will read complete response.
1)I want to know how I can read individual field in response and load the value into a variable.
2) if there are multiple occurrences of same field, how to get 1st occurrence value in the response?

I am not restricted to Jython, if there is any other script which can give me the same output. I am fine.

Thanks in advance,

I didn't find the right solution from the internet.

advertisement examples
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!