class_docstr: Validates data is valid JSON.
  
  :param message:
      Error message to raise in case of a validation error.
class_docstr_tok: ["Validates","data","is","valid","JSON",".",":","param","message",":","Error","message","to","raise","in","case","of","a","validation","error","."]
code: def __init__(self, message=None):
      self.message = message
  
file_path: airflow/airflow/www/validators.py
imports: from __future__ import annotations
  import json
  from json import JSONDecodeError
  from wtforms.validators import EqualTo, ValidationError
  from airflow.models.connection import CONN_ID_MAX_LEN, sanitize_conn_id
  from airflow.utils import helpers
label_desc: Use image node_id 1 to create a new ValidJson object  with example: obj = ValidJson(message)