EsotericSoftware / EsotericSoftware/yamlbeans
How to generate yml file for a Java class object
Open
- Dominant language
- Java
- Stars
- 568
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
This library can generate yml file for a java object given,I wanted to generate yml for the Java class object. This is to get the schema of the java class object. We have libraries to get java class to JSON . For a complex POJO, the JSON is cryptic and I prefer to have a yml representation.
**Example**
**From**
```
public class Phone {
public String name;
public String number;
}
```
**To**
```
Phone:
fields:
name:
type: String
number:
type: String
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.