class_docstr: Represents the path to a feature in an input example.
  
  An input example might contain nested structure. FeaturePath is to identify
  a node in such a structure.
class_docstr_tok: ["Represents","the","path","to","a","feature","in","an","input","example",".","An","input","example","might","contain","nested","structure",".","FeaturePath","is","to","identify","a","node","in","such","a","structure","."]
code: def from_json(path_json: str):
      steps = json.loads(path_json)
      if not isinstance(steps, list):
          raise TypeError("Invalid FeaturePath json: %s" % path_json)
      for s in steps:
          if not isinstance(s, str):
              raise TypeError(
                  "Invalid FeaturePath json: %s" % path_json
              )
      return FeaturePath(steps)
  
imports: import json
  from typing import Iterable, Tuple
  from tensorflow_metadata.proto.v0 import path_pb2
label_desc: Use image node_id 5 for calling the FeaturePath obj's underlying member method code with example usage: obj.from_json(path_json) and returns: FeaturePath