grunt-json2php:将json对象转换为php关联数组

时间:2021-07-02 20:53:01
【文件属性】:
文件名称:grunt-json2php:将json对象转换为php关联数组
文件大小:19KB
文件格式:ZIP
更新时间:2021-07-02 20:53:01
JavaScript grunt-json2php 用于将 json 文件转换为具有关联数组的 php 文件的 Grunt 插件。 入门 这个插件需要 Grunt ~0.4.x 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件: npm install grunt-excel-vocabulary --save 安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它: grunt . loadNpmTasks ( 'grunt-json2php' ) ; “json2php”任务 概述 在项目的 Gruntfile 中,将名为json2php的部分添加到传递给grunt.initConfig()的数据对象中。 grunt . initConfig ( { json2php
【文件预览】:
grunt-json2php-master
----.jshintrc(568B)
----Gruntfile.js(947B)
----lib()
--------index.js(936B)
----tasks()
--------index.js(895B)
----examples()
--------tanslation.json(40KB)
----.travis.yml(154B)
----LICENSE(1KB)
----README.md(3KB)
----tests()
--------lib()
--------index.js(912B)
----.gitignore(202B)
----package.json(2KB)

网友评论