fanpyi / jsontooc

Convert JSON data to Objective-C model,json to oc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js - jsontooc

Convert JSON data to Objective-C model

Installation

npm install -g jsontooc

Uninstallation

npm uninstall -g jsontooc

Requirements

add file 'NSArray+Map.h' and 'NSArray+Map.m' to Xcode project,and #import "NSArray+Map.h"

Command Line

  Usage: jsontooc -o classname -p classprefix jsonfile
    
  Options:

    -h,   output usage information
    -o,   Output Objective-C class name
    -p, [option]  class prefix,Default is empty

License

(MIT License)

Copyright 2017, fanpyi fanpyi@163.com

About

Convert JSON data to Objective-C model,json to oc

License:MIT License


Languages

Language:JavaScript 91.3%Language:Objective-C 8.7%