-
Notifications
You must be signed in to change notification settings - Fork 0
Help With JSON LD
We have a few pieces of code around that help us deal with JSON-LD
-
JSON-LD processor translated from the Java implementation
-
Json-LD readers and writers that glue the JSON processor to the DotNetRdf library
-
JSON readers that manipulate the JSON token stream. Maybe you want to rewrite some of the @id for example. Or maybe you want to skip some fields because the memory is getting pretty high when you load the JSON.
-
Client caching code that understands JSON-LD I'll have to dig this up, the basic idea is that you build a cache on the client keyed by the @id (that is keyed on the string value not the .NET Uri class because this behavior all depends on URI fragments) so when you traverse the JSON you dereference the @id via this cache and whether that cause a new document to be downloaded or whether you already have the data inline is independent of the client code. In other words the chunking of the data across the network can be controlled by the server which is the piece that knows the size of the data