Beispiel #1
0
        private dynamic GetSerializedJson(EntityId id, Stream resource)
        {
            string json = _processor.FromRdf(GetQuads(id, resource));

            object deserializeObject = JsonConvert.DeserializeObject(Regex.Replace(json, "\"_:autos[0-9]+\"", "\"_:blank\""));

            Console.WriteLine("Result JSON:");
            Console.WriteLine(deserializeObject.ToString());

            return(deserializeObject);
        }