pub fn fill(input: &Value, prev: Option<&Value>) -> Result<Value, String>
input with every {"$prev": pointer} object replaced from prev.
input
{"$prev": pointer}
prev
Returns the pointer that names nothing in prev.