diff --git a/AzureLiquid/LiquidParser.cs b/AzureLiquid/LiquidParser.cs
index 8b1ff75..c016578 100644
--- a/AzureLiquid/LiquidParser.cs
+++ b/AzureLiquid/LiquidParser.cs
@@ -54,24 +54,6 @@ public LiquidParser SetContent(object? instance, bool forceCamelCase = false)
return SetContentJson(JsonConvert.SerializeObject(instance, settings));
}
- ///
- /// Sets the content JSON. Data will be available using the 'content' variable.
- ///
- /// The JSON data.
- ///
- /// The current instance to use for method chaining.
- ///
- public LiquidParser SetContentJson(string json)
- {
- var content = "{ \"content\": " + json + " }";
- var converter = new ExpandoObjectConverter();
- var collection = JsonConvert.DeserializeObject(content, converter);
-
- _data = Hash.FromDictionary(new Dictionary(collection!));
-
- return this;
- }
-
///
/// Sets the content JSON using XML text data as source. Data will be available using the 'content' variable.
///
@@ -124,4 +106,22 @@ private void GuardRender()
throw new LiquidParserException("No template loaded. Call the Parse method before calling Render.");
}
}
+
+ ///
+ /// Sets the content JSON. Data will be available using the 'content' variable.
+ ///
+ /// The JSON data.
+ ///
+ /// The current instance to use for method chaining.
+ ///
+ private LiquidParser SetContentJson(string json)
+ {
+ var content = "{ \"content\": " + json + " }";
+ var converter = new ExpandoObjectConverter();
+ var collection = JsonConvert.DeserializeObject(content, converter);
+
+ _data = Hash.FromDictionary(new Dictionary(collection!));
+
+ return this;
+ }
}
\ No newline at end of file