<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>json — LowEndSpirit</title>
        <link>https://lowendspirit.com/index.php?p=/</link>
        <pubDate>Thu, 04 Jun 2026 04:47:49 +0000</pubDate>
        <language>en</language>
            <description>json — LowEndSpirit</description>
    <atom:link href="https://lowendspirit.com/index.php?p=/discussions/tagged/json/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>jq headache</title>
        <link>https://lowendspirit.com/index.php?p=/discussion/4664/jq-headache</link>
        <pubDate>Sat, 01 Oct 2022 09:50:44 +0000</pubDate>
        <category>Help</category>
        <dc:creator>legendary</dc:creator>
        <guid isPermaLink="false">4664@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Have this structure of JSON:</p>

<pre><code>(
    [0] =&gt; stdClass Object
        (
            [create_user] =&gt; Array
                (
                    [0] =&gt; stdClass Object
                        (
                            [time] =&gt; 2022-10-01_12:43:05
                            [level] =&gt; success
                            [message] =&gt; Username created: xbnitapwr
                        )

                )

        )

    [1] =&gt; stdClass Object
        (
            [create_user] =&gt; Array
                (
                    [0] =&gt; stdClass Object
                        (
                            [time] =&gt; 2022-10-01_12:43:05
                            [level] =&gt; success
                            [message] =&gt; User modified: xbnitapwr
                        )

                )

        )

)
</code></pre>

<p>I need to make it like this:</p>

<pre><code>(
    [0] =&gt; stdClass Object
        (
            [create_user] =&gt; Array
                (
                    [0] =&gt; stdClass Object
                        (
                            [time] =&gt; 2022-10-01_12:43:05
                            [level] =&gt; success
                            [message] =&gt; Username created: xbnitapwr
                        )
                    [1] =&gt; stdClass Object
                        (
                            [time] =&gt; 2022-10-01_12:43:05
                            [level] =&gt; success
                            [message] =&gt; User modified: xbnitapwr
                        )
                )
        )
)
</code></pre>

<p>TL;DR: I need to group elements by create_user key. And this is in bash env with jq. Any suggestions?</p>
]]>
        </description>
    </item>
   </channel>
</rss>
