class_docstr: Test class for JSONParser
class_docstr_tok: ["Test","class","for","JSONParser"]
docstr: JSONParser - Non String Input
docstr_tok: ["JSONParser","-","Non","String","Input"]
code: def test_non_string_input(self):
      """JSONParser - Non String Input"""
      options = {"schema": {"name": "string", "result": "string"}}
  
      record_data = {"name": "test", "result": "test"}
  
      # get parsed data
      parser = JSONParser(options)
      assert_equal(parser.parse(record_data), True)
  
      expected_result = [record_data]
      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 3 for calling the TestJSONParser obj's underlying member method code with example usage: obj.test_non_string_input() without return types