<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pravin kumar</title>
    <description>The latest articles on DEV Community by Pravin kumar (@pravin_).</description>
    <link>https://dev.to/pravin_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F888074%2F5836cad2-4900-4edd-9f71-4c3ac42e65d8.jpg</url>
      <title>DEV Community: Pravin kumar</title>
      <link>https://dev.to/pravin_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pravin_"/>
    <language>en</language>
    <item>
      <title>Need to transform Json data</title>
      <dc:creator>Pravin kumar</dc:creator>
      <pubDate>Wed, 06 Jul 2022 14:27:43 +0000</pubDate>
      <link>https://dev.to/pravin_/need-to-transform-json-data-46fe</link>
      <guid>https://dev.to/pravin_/need-to-transform-json-data-46fe</guid>
      <description>&lt;p&gt;I am writing a project where I need to transform Json from one format to another. I am new to json. Any lead will be appreciated. &lt;br&gt;
Input Data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "sorts": [
    {
      "name": "firstName",
      "sortOrder": "Ascending"
    }
  ],
  "page": "1",
  "pageSize": "10",
  "filters": [
    {
      "name": "studentIds",
      "type": "InList",
      "value": "(S001,S002,S004)"
    },
    {
      "name": "assignmentStatus",
      "type": "InList",
      "value": "(Completed, In Progress)"
    }
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Target Data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "orderBy": "firstName",
    "sortOrder": "Ascending",
    "page": "1",
    "pageSize": "10",
    "studentIds": [
        "S001",
        "S002",
        "S003"
    ],
    "assignmentStatus": [
        "Completed",
        "In Progress"
    ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>json</category>
    </item>
  </channel>
</rss>
