code: def from_json(cls, json):
      
      return cls(json[cls.BLOB_KEY_PARAM],
                 json[cls.INITIAL_POSITION_PARAM],
                 json[cls.END_POSITION_PARAM])
docs: Instantiates an instance of this InputReader for the given shard spec.