なんとな~くしあわせ?の日記

「そしてそれゆえ、知識そのものが力である」 (Nam et ipsa scientia potestas est.) 〜 フランシス・ベーコン

JSONを階層構造を保ったままCSV化

Herokuで公開しているアプリ

aqueous-everglades.herokuapp.com

無かったので作りました

サンプル

{
    "glossary": {
        "title": "example glossary",
		"GlossDiv": {
            "title": "S",
			"GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
					"SortAs": "SGML",
					"GlossTerm": "Standard Generalized Markup Language",
					"Acronym": "SGML",
					"Abbrev": "ISO 8879:1986",
					"GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
						"GlossSeeAlso": ["GML", "XML"]
                    },
					"GlossSee": "markup"
                }
            }
        }
    }
}
glossary,title,example glossary
glossary,GlossDiv,title,S
glossary,GlossDiv,GlossList,GlossEntry,ID,SGML
glossary,GlossDiv,GlossList,GlossEntry,SortAs,SGML
glossary,GlossDiv,GlossList,GlossEntry,GlossTerm,Standard Generalized Markup Language
glossary,GlossDiv,GlossList,GlossEntry,Acronym,SGML
glossary,GlossDiv,GlossList,GlossEntry,Abbrev,ISO 8879:1986
glossary,GlossDiv,GlossList,GlossEntry,GlossDef,para,A meta-markup language, used to create markup languages such as DocBook.
glossary,GlossDiv,GlossList,GlossEntry,GlossDef,GlossSeeAlso,GML
glossary,GlossDiv,GlossList,GlossEntry,GlossDef,GlossSeeAlso,XML
glossary,GlossDiv,GlossList,GlossEntry,GlossSee,markup