Querying JSON Files
Section Mutating JSON Files demonstrated using interface JsonQL.Compilation.IJsonCompiler to load one or more JSON files that have child/parent relationship with JsonQL expressions (the expressions mutate JSON files to new JSON structure). JsonQL also has an interface JsonQL.Query.IQueryManager which can be used to execute queries against one or more JSON files that have child/parent relationship with JsonQL expressions.
Note
Some of JsonQL.Query.IQueryManager methods are extension methods in JsonQL.Query.QueryManagerExtensions
Section Result as C# Object describes using JsonQL.Query.IQueryManager to query JSON files and convert the query result to a C# object.
Section Result as JSON Structure describes using JsonQL.Query.IQueryManager to query JSON files and convert the query to JSON structure.
Note
- For more examples of querying JSON files look at demo and unit test examples at these links:
- Result as C# Object
- Result as JSON Structure
- Reusing Compiled JSON Files