static fromJSON (json) {
      return new IndexNode(json.dimensions, json.dotNotation)
    }
Instantiate an IndexNode from its JSON representation
@param {Object} json
    An object structured like
    `{"mathjs": "IndexNode", dimensions: [...], dotNotation: false}`,
    where mathjs is optional
@returns {IndexNode}