/// Report the data type (generally for error reporting).
Report the data type (generally for error reporting).
Report the data type ( generally for error reporting ) .
pub fn type_name(&self) -> &'static str {
        match *self {
            Value::Scalar(ref x) => x.type_name(),
            Value::Nil => "nil",
            Value::Empty => "empty",
            Value::Blank => "blank",
            Value::Array(_) => "array",
            Value::Object(_) => "object",
        }
    }
pub fn type_name ( & self ) -> & ' static str { match * self { Value :: Scalar ( ref x ) => x . type_name ( ) , Value :: Nil => " " , Value :: Empty => " " , Value :: Blank => " " , Value :: Array ( _ ) => " " , Value :: Object ( _ ) => " " , } }
Report the data type (generally for error reporting).
Report the data type ( generally for error reporting ) .
&self