I want to create, sort, filter, query, update, etc. hierarchical data like JSON or XML or YAML with the same ease as a spreadsheet. Does such a thing exist?

    • early_riser@lemmy.radioOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      16 days ago

      I just checked this out. It’s not quite what I’m looking for right now but it does answer my question as asked. I can see it coming in handy later.

    • Zwuzelmaus@feddit.org
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      17 days ago

      That’s generally what relational databases are for.

      But they need rectangular structure. How do they work on tree structures, like OP has asked?

      one-off queries/transformations

      Again, that wasn’t the question.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    5
    ·
    17 days ago

    There’s a whole range of cli tools to extract and query structured data like that, but you might consider loading it into something like sqlite3 and treating it as a database because those formats are really not intended for queries, they’re designed for sharing data.

  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    17 days ago

    I’ll second the SQL database here. Especially since most people who use a spreadsheet actually treat it as a database in the first place, and not as a way to lay out data in a 2D table.

    But if a hierarchical table is really what’s desired, any visual database interface should do the trick.

  • xylogx@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 days ago

    So you can bring json into a spreadsheet as ling as you are cool with some if your cells containing multi-valued entries. The question is how do you want those multi valued fields to o be handled? How are they displayed? How would sorting and filtering on these fields work?