AlgebraicJulia / ACSets.jl

ACSets: Algebraic databases as in-memory data structures
https://algebraicjulia.github.io/ACSets.jl/
MIT License
19 stars 8 forks source link

Generation of acsets from input JSON #125

Closed slwu89 closed 7 months ago

slwu89 commented 7 months ago

When parsing large amounts of JSON data (e.g. from HTTP queries) it could be useful to automatically generate acsets from query output for easier processing (when we do not yet know the schema; it would also be generated from the input JSON). See the JSON3 package's docs on generated types, and consider how to adapt this to the acset case https://quinnj.github.io/JSON3.jl/stable/#Generated-Types

slwu89 commented 7 months ago

This rabbit hole goes deeper than I thought, see: https://tomasp.net/academic/papers/fsharp-data/fsharp-data.pdf

jpfairbanks commented 7 months ago

TFW you say "it would be nice if my programming language know more about structured data" and rediscover LINQ.

slwu89 commented 7 months ago

I will close this, because I don't plan to spend time on it. If anyone thinks it should be reopened, please do so.