From 5bdd4e8877ec95b7edf5cc2fc4629421752ddbea Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Fri, 13 May 2016 22:25:29 +0200 Subject: [PATCH] add missing curly braces --- src/JsonLD/Core/JsonLdProcessor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/JsonLD/Core/JsonLdProcessor.cs b/src/JsonLD/Core/JsonLdProcessor.cs index 4ebc79c..f383f2c 100644 --- a/src/JsonLD/Core/JsonLdProcessor.cs +++ b/src/JsonLD/Core/JsonLdProcessor.cs @@ -75,7 +75,10 @@ public static JArray Expand(JToken input, JsonLdOptions opts) foreach (var c in ((string) input)) { if (c == ':') + { hasColon = true; + } + if (!hasColon && (c == '{' || c == '[')) { isIriString = false;