Rehydrate a JSON AST (from Node#toJSON) back into the AST classes.
Node#toJSON
const json = root.toJSON()// save to file, send by network, etcconst root2 = postcss.fromJSON(json) Copy
const json = root.toJSON()// save to file, send by network, etcconst root2 = postcss.fromJSON(json)
Rehydrate a JSON AST (from
Node#toJSON) back into the AST classes.