code: def __init__(
      self,
      completion_fns: list[CompletionFn],
      samples_jsonl: str,
      *args,
      **kwargs,
  ):
      super().__init__(completion_fns, *args, **kwargs)
      assert (
          len(completion_fns) == 1
      ), "JsonValidator only supports one completion fn"
      self.samples_jsonl = samples_jsonl
  
file_path: evals/evals/elsuite/basic/json_validator.py
imports: import json
  from typing import Any
  import evals
  import evals.metrics
  import evals.record
  from evals.api import CompletionFn
label_desc: Use image node_id 1 to create a new JsonValidator object from inherited base classes: evals with example: obj = JsonValidator(completion_fns, samples_jsonl)