https://github.com/t1/meta
yet another meta programming support for Java
https://github.com/t1/meta
Last synced: 3 months ago
JSON representation
yet another meta programming support for Java
- Host: GitHub
- URL: https://github.com/t1/meta
- Owner: t1
- License: apache-2.0
- Created: 2015-11-02T05:10:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2026-01-29T07:27:22.000Z (6 months ago)
- Last Synced: 2026-01-29T22:50:19.915Z (6 months ago)
- Language: Java
- Size: 171 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Meta
A meta model for Java and representations for other data formats.
Typical use-cases for programming at a meta level:
* Validate
* Convert
* Diff
## Principles
Data consists of scalars (atomic types), sequences (repeated values), and mappings (a sequence of key-value pairs).
Data can be represented in various formats, POJOs, collections, xml, json, or yaml documents, to name just a few.
All of these formats have some meta data, like whitespace, comments, type/schema information, distinction between attributes
and elements, read-only flags, and much more.
While all data formats should be able to represent all data, meta data is often specific to one such representation and invalid in others.
## TODOs
* Pretty-print JSON
* JSON guide
* XML guide
* XML generator
## Challenges
Things not yet implemented that can potentially kill the purpose of the whole project:
* Dynamic sub-types
* Meta-Data
* Schemas
* SchemaCompilers
* Streaming write (builder)
* Binding