Coder Social home page Coder Social logo

pzjsonexport's Introduction

PZJsonExport

这是什么

PZJsonExport 是由自动生成 MJExtension 模型的 mac app,告别手写模型属性痛苦。

example

注:

PZJsonExport 由 JSONExport 魔改出来的,界面和 JSONExport 一样,部分代码也是直接从 JSONExport 贴过来的。

为什么不用 JSONExport

1.因为 JSONExport 没有生成 MJExtension 模型的方法。

2.如果使用的话,需要去手动映射。

功能

  • 自动映射数组中的字典。如, .h 中 NSArray <AClass *> *bClass, 在对应的 .m BClass 里,自动提供映射方法 + (NSDictionary *)objectClassInArray.
  • 关键字替换,会在关键字属性后面添加 Field 字符串.
  • 可以修改类前缀,同 JSONExport.
  • 下划线转驼峰
  • 首字母大写转小写

使用

直接复制 json 到 input json 窗口就可以了。

感谢

感谢 JSONExport

协议

MIT

pzjsonexport's People

Contributors

zlanchun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.