Skip to content

pashields/SupaDupa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=========
Supa Dupa
=========

WARNING: THIS IS NOT QUITE YET ALPHA. DANGEROUS TO ALL.

Supa Dupa is a class generation system written in python. It allows you to use wrapped json data to generate source code for classes based on the json data. So if you have json data like:

``{"count" : 1, "name" : "party time"}``

you can wrap it with a root key that is the class name like:

``{"PartyCounter" : {"count" : 1, "name" : "party time"}}``

You can pass this new json object to Supa Dupa, which will generate a class named PartyCounter with the included fields (with appropriate types, if needed).

Status
======

Currently, Supa Dupa only supports Objective-C as an output languages. I'll probably add java or something soon after. If you have somehow stumbled upon this project and want to add a language, follow the Objective-C example.

License
=======

Apache 2.0

About

A little python package that helps generate classes from json data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages