code: def testJsonEscapeString(self):
      message = json_format_proto3_pb2.TestMessage()
      if sys.version_info[0] < 3:
          message.string_value = (
              '&\n<"\r>\b\t\f\\\001/\xe2\x80\xa8\xe2\x80\xa9'
          )
      else:
          message.string_value = '&\n<"\r>\b\t\f\\\001/'
          message.string_value += (b"\xe2\x80\xa8\xe2\x80\xa9").decode(
              "utf-8"
          )
      self.assertEqual(
          json_format.MessageToJson(message),
          '{\n  "stringValue": '
          '"&\\n<\\"\\r>\\b\\t\\f\\\\\\u0001/\\u2028\\u2029"\n}',
      )
      parsed_message = json_format_proto3_pb2.TestMessage()
      self.CheckParseBack(message, parsed_message)
      text = '{"int32Value": "\u0031"}'
      json_format.Parse(text, message)
      self.assertEqual(message.int32_value, 1)
  
imports: import json
  import math
  import sys
  from google.protobuf import any_pb2
  from google.protobuf import duration_pb2
  from google.protobuf import field_mask_pb2
  from google.protobuf import struct_pb2
  from google.protobuf import timestamp_pb2
  from google.protobuf import wrappers_pb2
  from google.protobuf.internal import well_known_types
  from google.protobuf import json_format
  from google.protobuf.util import json_format_proto3_pb2
label_desc: Use image node_id 4 for calling the JsonFormatTest obj's underlying member method code with example usage: obj.testJsonEscapeString() without return types