code: def json_import(self, source, encoding="UTF-8", transforms=None, row_class=DataObject):
          
          class _JsonFileReader(object):
              def __init__(self, src):
                  self.source = src
              def __iter__(self):
                  current = ''
                  for line in self.source:
                      if current:
                          current += ' '
                      current += line
                      try:
                          yield json.loads(current)
                          current = ''
                      except Exception:
                          pass
          return self._import(source, encoding, transforms=transforms, reader=_JsonFileReader, row_class=row_class)
docs: Imports the contents of a JSON data file into this table.
             @param source: JSON data file - if a string is given, the file with that name will be
                 opened, read, and closed; if a file object is given, then that object
                 will be read as-is, and left for the caller to be closed.
             @type source: string or file
             @param transforms: dict of functions by attribute name; if given, each
                 attribute will be transformed using the corresponding transform; if there is no
                 matching transform, the attribute will be read as a string (default); the
                 transform function can also be defined as a (function, default-value) tuple; if
                 there is an Exception raised by the transform function, then the attribute will
                 be set to the given default value
             @type transforms: dict (optional)