@Override
    @SuppressWarnings("unchecked")
    public void read(JmeImporter im) throws IOException {
        InputCapsule ic = im.getCapsule(this);
        name = ic.readString("name", "");
        definition = (ShaderNodeDefinition) ic.readSavable("definition", null);
        condition = ic.readString("condition", null);
        inputMapping = ic.readSavableArrayList("inputMapping", new ArrayList<>());
        outputMapping = ic.readSavableArrayList("outputMapping", new ArrayList<>());
    }
jme serialization

@param im the importer
@throws IOException from the importer
jme3-core/src/main/java/com/jme3/shader/ShaderNode.java