How to store script values in a file?

I want to store some script values in a file like unity’s post processing stack asset does, but I don’t know how. Can somebody help me?

You need to learn about scriptable objects: Unity Connect