code: def testJsonEscapedStrings(self):
      p = Pool()
      p.add("vector_string", 'string_1\n\r " \ /')
      p.add("vector_string", 'string_2\n\r " \ /')
      p.add("vector_string", 'string_3\n\r " \ /')
      p.set("string", 'string\n\r " \ /')
  
      YamlOutput(filename="test.json", format="json")(p)
  
      raised = False
      try:
          result = json.load(open("test.json", "r"))
      except:
          print(open("test.json").read())
          raised = True
  
      self.assertEqual(raised, False)
      os.remove("test.json")
  
imports: from essentia_test import *
  from essentia._essentia import version
  import os
  import json
label_desc: Use image node_id 17 for calling the TestYamlOutput obj's underlying member method code with example usage: obj.testJsonEscapedStrings() without return types