printwtf/json-poxo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

printwtf/json-poxo

最新稳定版本:1.0.8

Composer 安装命令:

composer require printwtf/json-poxo

包简介

Parses JSON objects and generates objects in other languages

README 文档

README

json2poxo

PHP executable (or library) - json-poxo generates "plain old x objects" from JSON.

Command line interface

Install json-poxo with Composer:

composer require printwtf/json-poxo

Generating POJO (Java) from JSON

json-poxo.phar java --input file.json --ouput newDirectory --base baseClassName --package com.github.rtoshiro --gson true

Languages

$ json-poxo

Usage: json-poxo.phar <command>

Commands:
  java  Parse JSON and generates Java classes (POJO)
  objc  Parse JSON and generates Objective-C files (.h and .m)

Options (java)

Options:
  -i, --input    Input file path or URL (GET)
  -o, --output   Output directory
  -b, --base     Name of JSON root class
  -p, --package  Package name
  -g, --gson     Includes GSON annotations

Options (objc)

Options:
  -i, --input   Input file path or URL (GET)
  -o, --output  Output directory
  -b, --base    Name of JSON root class
  -p, --prefix  Class prefix

More languages will be come.

MIT License

Copyright (C) 2015 Toshiro Sugii

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

www.printwtf.com

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Objective-C

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-09-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固