News for hackers. Stuff that matters.
Re:Show HN: Datamorph – A clean JSON ⇄ CSV converter with au... by hermitcrab on Tuesday November 25, 2025 @05:06AM (#46044301)
I tried converting this:

[

  {

    "name": "Avocado Dip",

    "carb": 2,

    "cholesterol": 5,

    "fiber": 0,

    "minerals": {

      "ca": 0,

      "fe": 0

    },

    "protein": 1,

    "sodium": 210,

    "vitamins": {

      "a": 0,

      "c": 0

    }

  }
]

And I got:

name,carb,cholesterol,fiber,minerals,protein,sodium,vitamins

Avocado Dip,2,5,0,"{""ca"":0,""fe"":0}",1,210,"{""a"":0,""c"":0}"

Which is not what I would expect.

Re:Show HN: Datamorph – A clean JSON ⇄ CSV converter with au... by sumit_entr42 on Wednesday November 26, 2025 @08:43PM (#46064520)
Sorry for the inconvenience. The problem was that my logic was working for few working types and sets of json. So, it wasn't able to recognize your need. So now I have made the logic more robust, so it can handle wide range of json types.

Thanks for feedback. Have a Good Day!!