class_docstr: Reader for Rasa NLU training data in JSON format.
  
  Example:
      {
        "rasa_nlu_data": {
          "regex_features": [
            {
              "name": "zipcode",
              "pattern": "[0-9]{5}"
            }
          ],
          "entity_synonyms": [
            {
              "value": "chinese",
              "synonyms": ["Chinese", "Chines", "chines"]
            }
          ],
          "common_examples": [
            {
              "text": "hey",
              "intent": "greet",
              "entities": []
            },
            {
              "text": "howdy",
              "intent": "greet",
              "entities": []
            }
          ]
        }
      }
class_docstr_tok: ["Reader","for","Rasa","NLU","training","data","in","JSON","format",".","Example",":","{","``","rasa_nlu_data","''",":","{","``","regex_features","''",":","[","{","``","name","''",":","``","zipcode","''",",","``","pattern","''",":","``","[","0-9","]","{","5","}","''","}","]",",","``","entity_synonyms","''",":","[","{","``","value","''",":","``","chinese","''",",","``","synonyms","''",":","[","``","Chinese","''",",","``","Chines","''",",","``","chines","''","]","}","]",",","``","common_examples","''",":","[","{","``","text","''",":","``","hey","''",",","``","intent","''",":","``","greet","''",",","``","entities","''",":","[","]","}",",","{","``","text","''",":","``","howdy","''",",","``","intent","''",":","``","greet","''",",","``","entities","''",":","[","]","}","]","}","}"]
docstr: Creates reader.
docstr_tok: ["Creates","reader","."]
code: def __init__(self) -> None:
      """Creates reader."""
      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 RasaReader object from inherited base classes: JsonTrainingDataReader with example: obj = RasaReader()