class_docstr: JSON encoder and decoder that handles TensorShapes and tuples.
class_docstr_tok: ["JSON","encoder","and","decoder","that","handles","TensorShapes","and","tuples","."]
code: def encode(self, obj):
      return super().encode(_encode_tuple(obj))
  
file_path: keras/keras/legacy/saving/json_utils.py
imports: import collections
  import enum
  import functools
  import json
  import numpy
  from keras.legacy.saving import serialization
  from keras.saving import serialization_lib
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.encode(obj) and returns: super