class_docstr: Dumps NLU data as Rasa JSON string.
class_docstr_tok: ["Dumps","NLU","data","as","Rasa","JSON","string","."]
docstr: Creates writer.
docstr_tok: ["Creates","writer","."]
code: def __init__(self) -> None:
      """Creates writer."""
      super().__init__()
      rasa.shared.utils.io.raise_deprecation_warning(
          "NLU data in Rasa JSON format is deprecated and will be removed in Rasa "
          "Open Source 4.0.0. Please convert your JSON NLU data to the "
          "Rasa YAML format.",
          docs=DOCS_URL_MIGRATION_GUIDE,
      )
  
file_path: rasa/rasa/shared/nlu/training_data/formats/rasa.py
imports: import logging
  from collections import defaultdict
  from typing import Any, Dict, Text
  from rasa.shared.constants import DOCS_URL_MIGRATION_GUIDE
  from rasa.shared.nlu.constants import TEXT, INTENT, ENTITIES
  from rasa.shared.nlu.training_data.formats.readerwriter import JsonTrainingDataReader, TrainingDataWriter
  from rasa.shared.nlu.training_data.util import transform_entity_synonyms
  from rasa.shared.utils.io import json_to_string
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  import rasa.shared.utils.io
label_desc: Use image node_id 1 to create a new RasaWriter object from inherited base classes: TrainingDataWriter with example: obj = RasaWriter()