• Beej Jorgensen@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    I tried and failed to get an LLM to write jq code to do a regex based matcher for finding if one json object was a subset of another.

    Gave up and learned it enough to get it going. jq is nutso powerful.

      • Beej Jorgensen@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        21 hours ago

        Basically “does this JSON object contain at least these two properties, and is the value of one particular properties a string of digits followed by the letter ‘Z’”, for example.