static fromJson(json) {
    return new Position(json.type, json.blockId, json.fieldName);
  }
Decode the JSON into a Position.
@param {!Object} json The JSON representation of the Position.
@returns {!PositionUpdate} The Position represented by the JSON.
@public