diff --git a/core/json/jsonb.rs b/core/json/jsonb.rs index 96e04d641..ee869cee2 100644 --- a/core/json/jsonb.rs +++ b/core/json/jsonb.rs @@ -7,7 +7,7 @@ use std::{ str::{from_utf8, from_utf8_unchecked}, }; -use super::json_path::{JsonPath, PathElement}; +use super::path::{JsonPath, PathElement}; const SIZE_MARKER_8BIT: u8 = 12; const SIZE_MARKER_16BIT: u8 = 13; @@ -3607,7 +3607,7 @@ world""#, #[cfg(test)] mod path_operations_tests { use super::*; - use crate::json::json_path::{JsonPath, PathElement}; + use crate::json::path::{JsonPath, PathElement}; use std::borrow::Cow; // Helper function to create a simple JsonPath diff --git a/core/json/mod.rs b/core/json/mod.rs index d70b7a1a9..50f1366a8 100644 --- a/core/json/mod.rs +++ b/core/json/mod.rs @@ -5,7 +5,7 @@ mod cache; #[cfg(feature = "json")] mod ops; #[cfg(feature = "json")] -mod json_path; +mod path; #[cfg(feature = "json")] mod jsonb; @@ -17,7 +17,7 @@ pub use crate::json::ops::{ jsonb_replace, }; #[cfg(feature = "json")] -use crate::json::json_path::{json_path, JsonPath, PathElement}; +use crate::json::path::{json_path, JsonPath, PathElement}; use crate::types::{OwnedValue, OwnedValueType, Text, TextSubtype}; use crate::vdbe::Register; use crate::{bail_constraint_error, bail_parse_error, LimboError}; diff --git a/core/json/json_path.rs b/core/json/path.rs similarity index 100% rename from core/json/json_path.rs rename to core/json/path.rs