code: def test_encode_decode_ragged_tensor(self):
      x = tf.ragged.constant([[1.0, 2.0], [3.0]])
      string = json_utils.Encoder().encode(x)
      loaded = json_utils.decode(string)
      self.assertAllClose(loaded.values, x.values)
  
file_path: keras/keras/legacy/saving/json_utils_test.py
imports: import enum
  import pytest
  from keras import backend
  from keras import testing
  from keras.legacy.saving import json_utils
label_desc: Use image node_id 3 for calling the JsonUtilsTestTF obj's underlying member method code with example usage: obj.test_encode_decode_ragged_tensor() without return types