class_docstr: Test class for JSONParser
class_docstr_tok: ["Test","class","for","JSONParser"]
docstr: JSONParser - Parse record not in dict type but match the schema
docstr_tok: ["JSONParser","-","Parse","record","not","in","dict","type","but","match","the","schema"]
code: def test_parse_record_not_dict_matched(self):
      """JSONParser - Parse record not in dict type but match the schema"""
      options = {
          "schema": {"key": "string"},
          "parser": "json",
          "configuration": {"json_path": "[*]"},
      }
      record_data = '[{"key": "value"}]'
  
      parser = JSONParser(options)
      assert_equal(parser.parse(record_data), True)
  
      expected_result = [{"key": "value"}]
      assert_equal(parser.parsed_records, 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 29 for calling the TestJSONParser obj's underlying member method code with example usage: obj.test_parse_record_not_dict_matched() without return types