class_docstr: A single training/test example for simple sequence classification.
  
  Args:
      guid: Unique id for the example.
      text_a: string. The untokenized text of the first sequence. For single
          sequence tasks, only this sequence must be specified.
      text_b: (Optional) string. The untokenized text of the second sequence.
          Only must be specified for sequence pair tasks.
      label: (Optional) string. The label of the example. This should be
          specified for train and dev examples, but not for test examples.
class_docstr_tok: ["A","single","training\/test","example","for","simple","sequence","classification",".","Args",":","guid",":","Unique","id","for","the","example",".","text_a",":","string",".","The","untokenized","text","of","the","first","sequence",".","For","single","sequence","tasks",",","only","this","sequence","must","be","specified",".","text_b",":","(","Optional",")","string",".","The","untokenized","text","of","the","second","sequence",".","Only","must","be","specified","for","sequence","pair","tasks",".","label",":","(","Optional",")","string",".","The","label","of","the","example",".","This","should","be","specified","for","train","and","dev","examples",",","but","not","for","test","examples","."]
docstr: Serializes this instance to a JSON string.
docstr_tok: ["Serializes","this","instance","to","a","JSON","string","."]
code: def to_json_string(self):
      """Serializes this instance to a JSON string."""
      return json.dumps(dataclasses.asdict(self), indent=2) + "\n"
  
imports: import csv
  import dataclasses
  import json
  from dataclasses import dataclass
  from typing import List, Optional, Union
  from ...utils import is_tf_available, is_torch_available, logging
label_desc: Use image node_id 1 for calling the InputExample obj's underlying member method code with example usage: obj.to_json_string() and returns: unknown