diff --git a/src/commands/from_json.rs b/src/commands/from_json.rs index ab4241f21..52ec333f3 100644 --- a/src/commands/from_json.rs +++ b/src/commands/from_json.rs @@ -32,9 +32,7 @@ fn convert_json_value_to_nu_value(v: &serde_hjson::Value, tag: impl Into) - let tag = tag.into(); match v { - serde_hjson::Value::Null => { - Value::Primitive(Primitive::String(String::from(""))).tagged(tag) - } + serde_hjson::Value::Null => Value::Primitive(Primitive::Nothing).tagged(tag), serde_hjson::Value::Bool(b) => Value::Primitive(Primitive::Boolean(*b)).tagged(tag), serde_hjson::Value::F64(n) => { Value::Primitive(Primitive::Float(OF64::from(*n))).tagged(tag)