Package intermine :: Module webservice :: Class ListValueParser
[hide private]
[frames] | no frames]

Class ListValueParser

source code

object --+    
         |    
    Parser --+
             |
            ListValueParser

A result parser that produces lists

Parses jsonrow formatted rows into lists of values.

Instance Methods [hide private]
list
parse(self, row)
Parse a row of JSON results into a list
source code

Inherited from Parser: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

parse(self, row)

source code 

Parse a row of JSON results into a list

Parameters:
  • row (a JSON string) - a row of data from a result set
Returns: list
Overrides: Parser.parse