Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class name / file name mismatch for classes without properties #30

Open
S2MBO opened this issue Apr 8, 2015 · 0 comments
Open

Class name / file name mismatch for classes without properties #30

S2MBO opened this issue Apr 8, 2015 · 0 comments

Comments

@S2MBO
Copy link

S2MBO commented Apr 8, 2015

Consider this metaJSON definition:

[
   {
        "name": "base",
        "description": "Base class for all JSON Objects",
        "base-type": "object"
    }
]

This will generate a file called Object.java (Java for example) containing a class named Base.

This class name / file name mismatch causes trouble in some programming languages and with most import statements.

S2MBO added a commit to S2MBO/metaJSON that referenced this issue Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant