-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSVからJSONに変換するGulpプラグインをつくる #9
Comments
誰か着手されてますか? |
お願いします! |
あっ、これじゃだめだ。
[
{
"title": "橋杭岩",
"lat": "12.345",
"lng": "123.45",
"content": "これは橋杭岩です"
},
{
...
},
...
] 最終的には、メニューで こういう構造ならデータのメンテが非エンジニアでもできるようになるので。 |
あと、複数のCSVを扱えるようにするといいかも。たとえばデータが多いときに CSV から json に変換する gulp のプラグインのサンプルは以下にあります。 |
あと、menuの項目は自治体とは限らないです。たとえば |
日本語ファイル名でもOKみたいです。 |
done at #12 |
CSVのフォーマットは以下のとおり
これを以下のようなフォーマットのJSONに変換する
The text was updated successfully, but these errors were encountered: