class_docstr: Test class for JSONParser
class_docstr_tok: ["Test","class","for","JSONParser"]
docstr: JSONParser - Invalid Input
docstr_tok: ["JSONParser","-","Invalid","Input"]
code: def test_invalid_json(self):
      """JSONParser - Invalid Input"""
      options = {"schema": {"name": "string", "result": "string"}}
  
      record_data = "not json data"
  
      # get parsed data
      parser = JSONParser(options)
      assert_equal(parser.parse(record_data), False)
  
      expected_result = [record_data]
      assert_equal(parser.invalid_parses, expected_result)
  
imports: import json
  from mock import patch
  from nose.tools import assert_equal
  from streamalert.classifier.parsers import JSONParser
label_desc: Use image node_id 5 for calling the TestJSONParser obj's underlying member method code with example usage: obj.test_invalid_json() without return types