PHPackages                             printwtf/json-poxo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. printwtf/json-poxo

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

printwtf/json-poxo
==================

Parses JSON objects and generates objects in other languages

1.0.8(10y ago)019Objective-C

Since Sep 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rtoshiro/json-poxo)[ Packagist](https://packagist.org/packages/printwtf/json-poxo)[ RSS](/packages/printwtf-json-poxo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

(Discontinued - pls see )
-----------------------------------------------------------

[](#discontinued---pls-see-httpsgithubcomjaspionkilza)

json2poxo
=========

[](#json2poxo)

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

Command line interface
----------------------

[](#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

[](#languages)

```
$ json-poxo

Usage: json-poxo.phar

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

```

### Options (java)

[](#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-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
-----------

[](#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](http://www.printwtf.com)

[](#wwwprintwtfcom)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

9

Last Release

3835d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/280d78f760464dcc69fe73d3aad5c688fdcdbf3cda103924d3a7459b6a4b5745?d=identicon)[rtoshiro](/maintainers/rtoshiro)

---

Top Contributors

[![rtoshiro](https://avatars.githubusercontent.com/u/2634068?v=4)](https://github.com/rtoshiro "rtoshiro (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/printwtf-json-poxo/health.svg)

```
[![Health](https://phpackages.com/badges/printwtf-json-poxo/health.svg)](https://phpackages.com/packages/printwtf-json-poxo)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
